diff options
Diffstat (limited to 'svx/source/inc/fmshimp.hxx')
-rw-r--r-- | svx/source/inc/fmshimp.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index affa74dfcaf9..23bb34cc3a43 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -51,6 +51,7 @@ #include <o3tl/typed_flags_set.hxx> #include <queue> +#include <string_view> #include <vector> #include <memory> @@ -411,17 +412,17 @@ public: SAL_DLLPRIVATE static void GetConversionMenu_Lock(weld::Menu& rMenu); /// checks whether a given control conversion slot can be applied to the current selection - SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl_Lock(const OString& rIdent); + SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl_Lock(std::string_view rIdent); /// enables or disables all conversion slots in a menu, according to the current selection SAL_DLLPRIVATE void checkControlConversionSlotsForCurrentSelection_Lock(weld::Menu& rMenu); /// executes a control conversion slot for a given object - SAL_DLLPRIVATE bool executeControlConversionSlot_Lock(const css::uno::Reference< css::form::XFormComponent >& _rxObject, const OString& rIdent); + SAL_DLLPRIVATE bool executeControlConversionSlot_Lock(const css::uno::Reference< css::form::XFormComponent >& _rxObject, std::string_view rIdent); /** executes a control conversion slot for the current selection @precond canConvertCurrentSelectionToControl( <arg>_nSlotId</arg> ) must return <TRUE/> */ - SAL_DLLPRIVATE void executeControlConversionSlot_Lock(const OString& rIdent); + SAL_DLLPRIVATE void executeControlConversionSlot_Lock(std::string_view rIdent); /// checks whether the given slot id denotes a control conversion slot - SAL_DLLPRIVATE static bool isControlConversionSlot(const OString& rIdent); + SAL_DLLPRIVATE static bool isControlConversionSlot(std::string_view rIdent); SAL_DLLPRIVATE void ExecuteTextAttribute_Lock(SfxRequest& _rReq); SAL_DLLPRIVATE void GetTextAttributeState_Lock(SfxItemSet& _rSet); |