On Sat, Oct 30, 2010 at 10:35 PM, Gert Faller <gertfaller@aliceadsl.fr> wrote:
OK, thanks.
Now, this only works when you can compute the length of the string at
compile time, i.e. its a string literal, so
OUString::createFromAscii("foo") can be trivially replaced, while
OUString::createFromAscii(pSomething) should be left alone.
C.
Yes, of course, I was just outlining that files must be checked.
And for example in 'writer/sw/source/ui/vba/vbalisthelper.cxx':85, you get
msStyleName = rtl::OUString::createFromAscii( WORD_BULLET_GALLERY );
and at line 43 : static const char WORD_BULLET_GALLERY[] = "WdBullet";
That's ok too ?
Yes, that can be calculated at compile time too :)
--
Jesús Corrius <jesus@softcatala.org>
Document Foundation founding member
Skype: jcorrius | Twitter: @jcorrius
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.