Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

if you add text (e.g. "abc") to a shape like a smiley, save the document, delete the text and save again the text is still present in the saved file. Closing the drawing isn't necessary.

If you don't save the drawing after adding the text but delete the text and save the drawing afterwards the text isn't present in the written file.

In shapeexport.cxx at line 242 "if(xText.is() && !xText->getString().isEmpty())" xText->getString() evaluates to "abc" if the drawing was saved even if the text was deleted. So I guess "something happens to the text" during saving (because saving is necessary to trigger the wrong behaviour) and this something isn't updated properly if the text is deleted.

And this is where I am stuck but maybe my findings ring some bells for someone else?

Christina



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.