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/gui/license_dialog.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/gui/license_dialog.cxx')
-rw-r--r-- | desktop/source/deployment/gui/license_dialog.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx index ef2b64b91101..34fa924b8128 100644 --- a/desktop/source/deployment/gui/license_dialog.cxx +++ b/desktop/source/deployment/gui/license_dialog.cxx @@ -29,6 +29,7 @@ #include "license_dialog.hxx" #include <functional> +#include <string_view> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -64,7 +65,7 @@ struct LicenseDialogImpl : public weld::GenericDialogController DECL_LINK(SizeAllocHdl, const Size&, void); LicenseDialogImpl(weld::Window * pParent, - const OUString & sExtensionName, + std::u16string_view sExtensionName, const OUString & sLicenseText); bool IsEndReached() const; @@ -74,7 +75,7 @@ struct LicenseDialogImpl : public weld::GenericDialogController LicenseDialogImpl::LicenseDialogImpl( weld::Window * pParent, - const OUString & sExtensionName, + std::u16string_view sExtensionName, const OUString & sLicenseText) : GenericDialogController(pParent, "desktop/ui/licensedialog.ui", "LicenseDialog") , m_bLicenseRead(false) |