[Libreoffice-commits] core.git: registry/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 06:11:46 UTC 2020


 registry/source/regimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e28a1c232377e6f04e0b6dfe8b2e30fe5341f1d9
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 27 17:00:28 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Aug 29 08:10:59 2020 +0200

    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 at redhat.com>

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;
             }


More information about the Libreoffice-commits mailing list