To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96284
Issue #|96284
Summary|registry symlink foo ...
Component|udk
Version|OOo 3.0
Platform|All
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|kr
Reported by|mmeeks
------- Additional comments from [EMAIL PROTECTED] Mon Nov 17 15:26:31 +0000
2008 -------
This lookup burns an unfeasible amount of CPU on document load / save and
startup:
--- registry/source/regimpl.cxx 11 Apr 2008 10:49:44 -0000 1.28
+++ registry/source/regimpl.cxx 31 Oct 2008 12:37:17 -0000
@@ -2168,6 +2174,14 @@ OUString ORegistry::resolveLinks(ORegKey
if ( path.getStr()[0] == '/' )
nIndex++;
+ // there are no symlinks in any registries we read these days ...
+ OUString hack = resolvedPath;
+ if (resolvedPath.getLength() <= 1)
+ hack = OUString();
+ hack += rtl::OUString::createFromAscii("/");
+ hack += path.copy(nIndex);
+ return hack;
+
do
{
token = path.getToken( 0, '/', nIndex );
---------------------------------------------------------------------
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]