diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-28 17:56:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 16:42:33 +0100 |
commit | 042033f1e6da22616cb76c8d950c20c9efecbad5 (patch) | |
tree | 26b3f1f42d067506f44550b410f3fb9640616a5b /sw/source/core/undo | |
parent | ccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff) |
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/core/undo')
-rw-r--r-- | sw/source/core/undo/unbkmk.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx index 5372899623f3..932ad9522ce4 100644 --- a/sw/source/core/undo/unbkmk.cxx +++ b/sw/source/core/undo/unbkmk.cxx @@ -17,6 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <string_view> + #include <UndoBookmark.hxx> #include <strings.hrc> @@ -111,7 +115,7 @@ SwUndoRenameBookmark::~SwUndoRenameBookmark() { } -static OUString lcl_QuoteName(const OUString& rName) +static OUString lcl_QuoteName(std::u16string_view rName) { static const OUString sStart = SwResId(STR_START_QUOTE); static const OUString sEnd = SwResId(STR_END_QUOTE); |