summaryrefslogtreecommitdiff
path: root/framework/inc/uielement/menubarmerger.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-22 14:08:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-27 11:26:32 +0100
commit9013dc1650aa8400f63da5f584df9058b1740eb3 (patch)
treea1ba4f196070459d5d823d942e5a0a121b09ea3d /framework/inc/uielement/menubarmerger.hxx
parentdb97e00893c204226a2eab2d95c9837bce3cddb0 (diff)
Simplify loplugin:stringviewparam comparison operator handling
In practice, it works fine to look at all of them, regardless of actual argument types. Change-Id: Ifc49cbcd6003c8837c1b3f81d432c59fb0657bf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108366 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/inc/uielement/menubarmerger.hxx')
-rw-r--r--framework/inc/uielement/menubarmerger.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/uielement/menubarmerger.hxx b/framework/inc/uielement/menubarmerger.hxx
index 910bc58f2014..8de837c5e81e 100644
--- a/framework/inc/uielement/menubarmerger.hxx
+++ b/framework/inc/uielement/menubarmerger.hxx
@@ -75,14 +75,14 @@ namespace MenuBarMerger
bool ProcessMergeOperation( Menu* pMenu,
sal_uInt16 nPos,
sal_uInt16& rItemId,
- const OUString& rMergeCommand,
+ std::u16string_view rMergeCommand,
const OUString& rMergeCommandParameter,
const OUString& rModuleIdentifier,
const AddonMenuContainer& rAddonMenuItems );
bool ProcessFallbackOperation( const ReferencePathInfo& aRefPathInfo,
sal_uInt16& rItemId,
- const OUString& rMergeCommand,
- const OUString& rMergeFallback,
+ std::u16string_view rMergeCommand,
+ std::u16string_view rMergeFallback,
const ::std::vector< OUString >& rReferencePath,
std::u16string_view rModuleIdentifier,
const AddonMenuContainer& rAddonMenuItems );