Hi Regina, On Mon, May 03, 2021 at 08:25:42PM +0200, Regina Henschel <rb.henschel@xxxxxxxxxxx> wrote: > That means, I do not sent the information to the child, but the child > fetches it from the parent. I like your idea. > > Shape::addChildren() is called with a reference to the group shape. So there > the parent shape is known. It does not call Shape::createAndInsert() > directly, but calls Shape::addShape(), which then calls > Shape::createAndInsert(). > > So add a pointer to addShape() and to createAndInsert()? If they are called > first time, it would be a nullptr. Such pointer could likely replace the > 'bInGroup' parameter. Yes, I would suggest to try that way. Regards, Miklos _______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice