diff options
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/defaultregistry/defaultregistry.cxx | 6 | ||||
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index ff4c2483e34b..866648439157 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -821,7 +821,7 @@ sal_Bool SAL_CALL NestedKeyImpl::createLink( const OUString& aLinkName, const OU throw InvalidRegistryException(); } - resolvedName += aLinkName.copy(lastIndex); + resolvedName += aLinkName.subView(lastIndex); } else { @@ -875,7 +875,7 @@ void SAL_CALL NestedKeyImpl::deleteLink( const OUString& rLinkName ) throw InvalidRegistryException(); } - resolvedName += rLinkName.copy(lastIndex); + resolvedName += rLinkName.subView(lastIndex); } else { @@ -917,7 +917,7 @@ OUString SAL_CALL NestedKeyImpl::getLinkTarget( const OUString& rLinkName ) throw InvalidRegistryException(); } - resolvedName += rLinkName.copy(lastIndex); + resolvedName += rLinkName.subView(lastIndex); } else { diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index f554cedb4570..d5813d7ad725 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -194,7 +194,7 @@ void prepareLink( const Reference < XSimpleRegistry > & xDest, if (pShortName) { - linkRefName += link.copy(pShortName - pTmpName + 1); + linkRefName += link.subView(pShortName - pTmpName + 1); linkName = link.copy(0, pShortName - pTmpName); } |