On Sat, Oct 30, 2010 at 10:35 PM, Gert Faller <gertfal...@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 <je...@softcatala.org>
Document Foundation founding member
Skype: jcorrius | Twitter: @jcorrius
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to