diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-12-03 11:07:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-12-03 15:18:31 +0100 |
commit | 3e6ad944ac6a7ccd465ed7a862157c467730f86b (patch) | |
tree | 86e79940de42c7f786244a21f074ba7701c190b7 /desktop/source | |
parent | 63594c62024b894251e1c88d5f65980c553dec4e (diff) |
don't bother passing const std::[u16]string_view by reference
Change-Id: I49477c20849dd99118d5935c0f1576429648bfca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177734
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/updater.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 39699b90dec5..a82743627d4a 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -403,9 +403,9 @@ public: } }; -OUString toOUString(const std::string_view& rStr) +OUString toOUString(std::string_view str) { - return OUString::fromUtf8(rStr); + return OUString::fromUtf8(str); } update_file parse_update_file(orcus::json::node& rNode) |