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 /sc/source/ui/view/dbfunc3.cxx | |
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 'sc/source/ui/view/dbfunc3.cxx')
-rw-r--r-- | sc/source/ui/view/dbfunc3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index f237722439fb..8bb263b71530 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -64,6 +64,7 @@ #include <comphelper/lok.hxx> #include <memory> +#include <string_view> #include <unordered_set> #include <unordered_map> #include <vector> @@ -609,7 +610,7 @@ void ScDBFunc::Consolidate( const ScConsolidateParam& rParam ) // pivot -static OUString lcl_MakePivotTabName( const OUString& rPrefix, SCTAB nNumber ) +static OUString lcl_MakePivotTabName( std::u16string_view rPrefix, SCTAB nNumber ) { OUString aName = rPrefix + OUString::number( nNumber ); return aName; |