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 /include/unotools | |
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 'include/unotools')
-rw-r--r-- | include/unotools/optionsdlg.hxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/unotools/optionsdlg.hxx b/include/unotools/optionsdlg.hxx index f20d2aa59d65..20e7789ea81d 100644 --- a/include/unotools/optionsdlg.hxx +++ b/include/unotools/optionsdlg.hxx @@ -19,6 +19,10 @@ #ifndef INCLUDED_UNOTOOLS_OPTIONSDLG_HXX #define INCLUDED_UNOTOOLS_OPTIONSDLG_HXX +#include <sal/config.h> + +#include <string_view> + #include <unotools/unotoolsdllapi.h> #include <rtl/ustring.hxx> #include <unotools/options.hxx> @@ -34,12 +38,12 @@ public: SvtOptionsDialogOptions(); virtual ~SvtOptionsDialogOptions() override; - bool IsGroupHidden ( const OUString& _rGroup ) const; - bool IsPageHidden ( const OUString& _rPage, - const OUString& _rGroup ) const; - bool IsOptionHidden ( const OUString& _rOption, - const OUString& _rPage, - const OUString& _rGroup ) const; + bool IsGroupHidden ( std::u16string_view _rGroup ) const; + bool IsPageHidden ( std::u16string_view _rPage, + std::u16string_view _rGroup ) const; + bool IsOptionHidden ( std::u16string_view _rOption, + std::u16string_view _rPage, + std::u16string_view _rGroup ) const; }; #endif |