To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73909





------- Additional comments from [EMAIL PROTECTED] Thu Feb  8 14:54:15 +0000 
2007 -------
Also - I committed a simple impl. to the tools/ UniString class too (for
subsequent use in (eg.) calc.

+UniString UniString::intern() const
+{
+    UniString aStr;
+
+    rtl_uString_intern( reinterpret_cast<rtl_uString **>(&aStr.mpData),
+                        (rtl_uString *)(&mpData) );
+
+    return aStr;
+}

As Stefan points out the 'INTERN' flag is useful for UniString where we check
for refCount == 1 before mutating the string, so should avoid any problems here
too which is nice.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to