On Friday 06 of April 2012, Lubos Lunak wrote:
I'm aware only of these cases where the explicit
OUString ctor is needed:
- return statements (because of the gcc bug)
- tool String class (because that one itself is obsolete and uses should be
converted to OUString)
- when OUString object is really needed, e.g. with templates or
serialization
Oh well, there's actually one more:
- OUString( condition ? "foo" : "bar" ) works with gcc/clang only if the sizes
of the strings are the same, and it never works with msvc this way.
--
Lubos Lunak
l.lunak@suse.cz
Context
- Re: RTL_CONSTASCII_(U)STRINGPARAM officially obsolete (continued)
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.