Hello Julien,
On Sat, 2010-11-06 at 01:03 +0100, julien wrote:
Hello,
Here is a patch for calc\sc\source\core\data (i think there's no more in it)
Sorry, I can't apply this one since this breaks code pretty much all
places.
RTL_CONSTASCII_USTRINGPARAM is not a replacement for rtl::OUString
constructor; rather, you need to feed it to rtl::OUString() to
instantiate the string.
So, instead of
RTL_CONSTASCII_USTRINGPARAM("Text")
you need to
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Text"))
Note that when instantiating a local string instance, you can do it like
this
rtl::OUString aStr(RTL_CONSTASCII_USTRINGPARAM("Text"));
since that implicitly calls OUString's constructor with the RTL_... as
its argument. But most other cases require explicit call to the
constructor.
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>
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.