summaryrefslogtreecommitdiff
path: root/stoc/source/implementationregistration/implreg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/implementationregistration/implreg.cxx')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 9efdc32850dd..0f711b7dcf63 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -517,9 +517,9 @@ void prepareUserKeys(const Reference < XSimpleRegistry >& xDest,
hasSubKeys = true;
OUString linkTarget = xKey->getLinkTarget(relativKey);
- OUString linkName(xKey->getKeyName().copy(xUnoKey->getKeyName().getLength()));
-
- linkName += "/" + relativKey;
+ OUString linkName(
+ OUString::Concat(xKey->getKeyName().subView(xUnoKey->getKeyName().getLength()))
+ + "/" + relativKey);
if (bRegister)
{