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


On 10/10/2016 10:24 PM, Eike Rathke wrote:
I'd rather say it's a bug when assigning the involved OUStringBuffer
(here aLCIDString) to itself again.. so for clarification:

https://gerrit.libreoffice.org/#/c/28666/5 had

    aLCIDString = "[$-" + aLCIDString + "]";
    aFormatStr.insert( nPosInsertLCID, aLCIDString.toString() );

which produced an erroneous "[$-[$-[$-0]"

Ouch. Would probably make sense to forbid that O[U]StringBuffer takes part in such concatenations (by removing the ToStringHelper<O[U]StringBfufer> specializations, which are luckily LIBO_INTERNAL_ONLY). I'll look into that.


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.