diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 22:09:56 +0200 |
commit | d573e2ae17d2ff589ec7adc0dddf6a78db4cc93a (patch) | |
tree | cefd09b6f39b3116f26193dc043bda1f49713ae9 /registry | |
parent | 41c04ceb3b1b14c3c99ede86524df8f3de4f5daa (diff) |
loplugin:ostr in various
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regkey.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx index c9fc096eaf48..450df235ce21 100644 --- a/registry/source/regkey.cxx +++ b/registry/source/regkey.cxx @@ -174,7 +174,7 @@ RegError REGISTRY_CALLTYPE setValue(RegKeyHandle hKey, if (pKey->isReadOnly()) return RegError::REGISTRY_READONLY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -213,7 +213,7 @@ RegError REGISTRY_CALLTYPE setLongListValue(RegKeyHandle hKey, if (pKey->isReadOnly()) return RegError::REGISTRY_READONLY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -252,7 +252,7 @@ RegError REGISTRY_CALLTYPE setStringListValue(RegKeyHandle hKey, if (pKey->isReadOnly()) return RegError::REGISTRY_READONLY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -291,7 +291,7 @@ RegError REGISTRY_CALLTYPE setUnicodeListValue(RegKeyHandle hKey, if (pKey->isReadOnly()) return RegError::REGISTRY_READONLY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -333,7 +333,7 @@ RegError REGISTRY_CALLTYPE getValueInfo(RegKeyHandle hKey, RegValueType valueType; sal_uInt32 valueSize; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -376,7 +376,7 @@ RegError REGISTRY_CALLTYPE getValue(RegKeyHandle hKey, if (pKey->isDeleted()) return RegError::INVALID_KEY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -413,7 +413,7 @@ RegError REGISTRY_CALLTYPE getLongListValue(RegKeyHandle hKey, if (pKey->isDeleted()) return RegError::INVALID_KEY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -450,7 +450,7 @@ RegError REGISTRY_CALLTYPE getStringListValue(RegKeyHandle hKey, if (pKey->isDeleted()) return RegError::INVALID_KEY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; @@ -487,7 +487,7 @@ RegError REGISTRY_CALLTYPE getUnicodeListValue(RegKeyHandle hKey, if (pKey->isDeleted()) return RegError::INVALID_KEY; - OUString valueName("value"); + OUString valueName(u"value"_ustr); if (keyName->length) { ORegKey* pSubKey = nullptr; |