diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 09:41:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 10:53:32 +0100 |
commit | e8227dc4af54c39e871b12f2e846fa54cff11581 (patch) | |
tree | 88a93d4a1cea756eb865f893fe63d87546299b49 /configmgr | |
parent | 696739056f37430154d6333b8f7228d1c44d09b3 (diff) |
loplugin:stringview (clang-cl)
Change-Id: I47b44c80b2a5e3c9d84f5d7257efe17f138a1067
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106563
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/winreg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx index 6e4690500996..e5a92d094435 100644 --- a/configmgr/source/winreg.cxx +++ b/configmgr/source/winreg.cxx @@ -226,7 +226,7 @@ void dumpWindowsRegistryKey(HKEY hKey, OUString const & aKeyName, TempFile &aFil if(nCommandSeparator != -1) { OUString aNodeOp = aNextPathPart.copy(nCommandSeparator + 1); - writeAttributeValue(aFileHandle, aNextPathPart.copy(0, nCommandSeparator - 1)); + writeAttributeValue(aFileHandle, aNextPathPart.subView(0, nCommandSeparator - 1)); aFileHandle.writeString("\" oor:op=\""); writeAttributeValue(aFileHandle, aNodeOp); } |