[Libreoffice-bugs] [Bug 111731] changing properties of inserted graphic-objects via macro ( Basic) causes file store error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 12 16:46:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111731

--- Comment #2 from Thomas Krumbein <tk at mic-consulting.de> ---
Some more information:

problem causes in this line:

  sName = oDoc.CurrentController.ViewCursor.textframe.name

I do not know why, but this line removes the supported service
"com.sun.star.text.TextGraphicObject" out of the graphic-object - and couses in
the descripted problems.

Just removing this line and pass the name of the pic manually 

sName = "Bild1"

and all manipulations works fine inclusive storing. 

so, maybe it helps you?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170812/b41ba121/attachment-0001.html>


More information about the Libreoffice-bugs mailing list