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


On Jul 19, 2011, at 3:51 PM, Caolán McNamara wrote:
As an aside we should check if the rtl::O[U]StringBuffer append's with a
0 character actually do append a 0 to the end of a already null
terminated string so the ugliness can go away if/when the conversion
train hits that code.

It sure looks strange that ByteString::Append(char) silently refuses to append a null character.  
That mis-feature should probably simply be removed.  (And rtl::OStringBuffer::append(sal_Char) 
indeed works correctly for null characters.)

-Stephan

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.