summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-08-27 17:00:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-08-29 08:10:59 +0200
commite28a1c232377e6f04e0b6dfe8b2e30fe5341f1d9 (patch)
tree5e4977fdeb1bcd7a3a3f397292ae940234c96a9f /registry
parent43f3f34b01995b7192c7df34635cf0b4226eeefa (diff)
Simplify OUStringBuffer to OUString conversion
Change-Id: Icbec786bda1eeba34d3575706a8064a40b0a1311 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101567 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'registry')
-rw-r--r--registry/source/regimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index e58e99b4cdf7..000d82fdd927 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -640,7 +640,7 @@ RegError ORegistry::createKey(RegKeyHandle hKey, const OUString& keyName,
token = sFullKeyName.getToken(0, '/', nIndex);
if (!token.isEmpty())
{
- if (rStoreDir.create(pKey->getStoreFile(), sFullPath.getStr(), token, storeAccessMode::Create))
+ if (rStoreDir.create(pKey->getStoreFile(), sFullPath.toString(), token, storeAccessMode::Create))
{
return RegError::CREATE_KEY_FAILED;
}