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


Hi Kohei,

Likely aRefStr isn't interned, but only constructed from an OUString.

Yup, and what I used to do in a case like this was to insert a printf
statement in that constructor of SharedString (the one that only takes
OUString) to see if anybody is calling it.  If somebody is calling it, set
a break point there and you'll find the culprit.

One likely scenario is where someone is passing a OUString value to a
function that expects a SharedString.

That is the case indeed, I found the culprit late yesterday.
Thanks for your suggestion. I use a lot of SAL_DEBUG for traces as it is often much faster than 
gdb, but this time gdb provide the clue for me.

Winfried

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.