[Libreoffice-bugs] [Bug 38834] [EasyHack] 16-bit unicode string literals

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 21 00:11:52 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38834

--- Comment #1 from Allan Jacobs <jacobsallanster at gmail.com> 2011-11-20 15:11:52 PST ---
Some of the work is done.
SAL_STRING_STATIC_FLAG is defined in core/sal/rtl/source/strimp.hxx
    #define SAL_STRING_STATIC_FLAG 0x40000000
SAL_STRING_STATIC_FLAG is used in core/sal/rtl/source/strimp.hxx
    #define SAL_STRING_IS_STATIC(a) ((a)->refCount & SAL_STRING_STATIC_FLAG)
SAL_STRING_STATIC_FLAG is used in core/sal/rtl/source/ustring.cxx in the
initializer for static rtl_uString.
SAL_STRING_STATIC_FLAG is used in core/sal/rtl/source/string.cxx in the
initializer for static rtl_String.

SAL_STRING_IS_STATIC is used directly and indirectly in many of the methods
defined in /core/sal/rtl/source/strtmpl.cxx.

SAL_STRING_IS_STATIC is also used (trivially) in /core/sal/rtl/source/hash.cxx

I think rtl_uString_assign is defined in strtmpl.cxx in code for
void SAL_CALL IMPL_RTL_STRINGNAME( assign )( IMPL_RTL_STRINGDATA** ppThis,
                                             IMPL_RTL_STRINGDATA* pStr )

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list