Am 18.09.2010 19:31, schrieb Bartosz:
Hi,
At TODO list there is topic about String and UniString removal:
http://wiki.services.openoffice.org/wiki/To-Dos#General_Refactoring_Improvements
I found some declaration of the String, ByteString, UniString at:
http://svn.services.openoffice.org/opengrok/xref/DEV300_m87/tools/inc/tools/string.hxx
Also OString declaration at file:
http://svn.services.openoffice.org/opengrok/xref/DEV300_m87/sal/inc/rtl/string.hxx
and OUString at:
http://svn.services.openoffice.org/opengrok/xref/DEV300_m87/sal/inc/rtl/ustring.hxx
What is the main differents between them and which one is obsolete?
Can we replace some of them with "string" or "wstring" (basic_string) from
Strings library?
http://www.cplusplus.com/reference/string/string/
Please prefer our rtl strings to the std::string/wstring. The rtl
strings are used in the implementations of UNO structures/interfaces.
Using std strings would need to convert them to/from rtl strings in most
cases, which would be even more expensive than converting between rtl
strings and the obsolete tools strings.
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]