diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-25 18:56:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-03-25 19:03:28 +0000 |
commit | 27b98e9e3b3d21fded40df1912292f381fae4ab0 (patch) | |
tree | 79b6e8e64877d32726edc1a397fe6bcb7f0546d6 /registry | |
parent | 5607e88d5f2f2eb7a6b0c9c329728589761c3431 (diff) |
loplugin:stringadd in registry..sal
after my patch to merge the bufferadd loplugin into stringadd
Change-Id: I1658b960d44780f7d9c447246b1178cb70be5e66
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149581
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 5f5bf335edb4..7dcbaa272dab 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -643,8 +643,7 @@ RegError ORegistry::createKey(RegKeyHandle hKey, std::u16string_view keyName, return RegError::CREATE_KEY_FAILED; } - sFullPath.append(token); - sFullPath.append('/'); + sFullPath.append(token + "/"); } } while(nIndex != -1); |