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 /desktop/source/deployment/manager/dp_properties.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 'desktop/source/deployment/manager/dp_properties.cxx')
-rw-r--r-- | desktop/source/deployment/manager/dp_properties.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/manager/dp_properties.cxx b/desktop/source/deployment/manager/dp_properties.cxx index ab5ccc7eb5c7..92d7191111d3 100644 --- a/desktop/source/deployment/manager/dp_properties.cxx +++ b/desktop/source/deployment/manager/dp_properties.cxx @@ -41,12 +41,12 @@ namespace dp_manager { //Reading the file ExtensionProperties::ExtensionProperties( - OUString const & urlExtension, + std::u16string_view urlExtension, Reference<ucb::XCommandEnvironment> const & xCmdEnv, Reference<uno::XComponentContext> const & xContext) : m_xCmdEnv(xCmdEnv), m_xContext(xContext) { - m_propFileUrl = urlExtension + "properties"; + m_propFileUrl = OUString::Concat(urlExtension) + "properties"; std::vector< std::pair< OUString, OUString> > props; if (! dp_misc::create_ucb_content(nullptr, m_propFileUrl, nullptr, false)) @@ -64,13 +64,13 @@ ExtensionProperties::ExtensionProperties( //Writing the file ExtensionProperties::ExtensionProperties( - OUString const & urlExtension, + std::u16string_view urlExtension, uno::Sequence<css::beans::NamedValue> const & properties, Reference<ucb::XCommandEnvironment> const & xCmdEnv, Reference<uno::XComponentContext> const & xContext) : m_xCmdEnv(xCmdEnv), m_xContext(xContext) { - m_propFileUrl = urlExtension + "properties"; + m_propFileUrl = OUString::Concat(urlExtension) + "properties"; for (css::beans::NamedValue const & v : properties) { |