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/qa/unit/helper/qahelper.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/qa/unit/helper/qahelper.cxx')
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index c481260378c7..5400347324e7 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -613,7 +613,7 @@ ScDocShellRef ScBootstrapFixture::load( } ScDocShellRef ScBootstrapFixture::loadDoc( - const OUString& rFileName, sal_Int32 nFormat, bool bReadWrite ) + std::u16string_view rFileName, sal_Int32 nFormat, bool bReadWrite ) { OUString aFileExtension(aFileFormats[nFormat].pName, strlen(aFileFormats[nFormat].pName), RTL_TEXTENCODING_UTF8 ); OUString aFilterName(aFileFormats[nFormat].pFilterName, strlen(aFileFormats[nFormat].pFilterName), RTL_TEXTENCODING_UTF8) ; @@ -641,7 +641,7 @@ OUString EnsureSeparator(const OUStringBuffer& rFilePath) } void ScBootstrapFixture::createFileURL( - const OUString& aFileBase, const OUString& aFileExtension, OUString& rFilePath) + std::u16string_view aFileBase, const OUString& aFileExtension, OUString& rFilePath) { // m_aBaseString and aFileBase may contain multiple segments, so use // GetNewAbsURL instead of insertName for them: |