To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63500
------- Additional comments from [EMAIL PROTECTED] Mon Apr 23 11:31:53 +0000
2007 -------
> But using OUString::intern() would mean that all strings are kept in
> the global hash forever (as long as the application is running), wouldn't it?
Nope - they are still reference counted, and when the last reference is dropped
they are freed as normal. The interning is just some finesse on top of that :-)
so hopefully this is now trivial to do & close.
diff -u -p -u -r1.21 cell.hxx
--- inc/cell.hxx 24 Oct 2006 13:05:34 -0000 1.21
+++ inc/cell.hxx 23 Apr 2007 11:31:27 -0000
@@ -585,7 +588,7 @@ inline void ScStringCell::GetString( Str
inline void ScStringCell::SetString( const String& rString )
{
- aString = rString;
+ aString = rString.intern();
}
---------------------------------------------------------------------
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]