diff options
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 13b9d4251802..27a4592c9dc2 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -766,12 +766,12 @@ RegError ORegistry::eraseKey(ORegKey* pKey, const OUString& keyName) if (lastIndex >= 0) { - sRelativKey += keyName.copy(lastIndex + 1); + sRelativKey += keyName.subView(lastIndex + 1); if (sFullKeyName.getLength() > 1) sFullKeyName += keyName; else - sFullKeyName += keyName.copy(1); + sFullKeyName += keyName.subView(1); sFullPath = sFullKeyName.copy(0, keyName.lastIndexOf('/') + 1); } else |