diff options
Diffstat (limited to 'cui/source/inc/cfgutil.hxx')
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 8187d5e14314..bd4e8e8e2d76 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -20,6 +20,8 @@ #include <vector> #include <memory> +#include <string_view> + #include <rtl/ustring.hxx> #include <com/sun/star/frame/DispatchInformation.hpp> @@ -70,7 +72,7 @@ public: std::vector< SfxStyleInfo_Impl > getStyleFamilies() const; std::vector< SfxStyleInfo_Impl > getStyles(const OUString& sFamily); - static OUString generateCommand(const OUString& sFamily, const OUString& sStyle); + static OUString generateCommand(std::u16string_view sFamily, std::u16string_view sStyle); }; enum class SfxCfgKind @@ -223,7 +225,7 @@ public: { m_pFunctionListBox = pBox; } void GroupSelected(); void SelectMacro(const SfxMacroInfoItem*); - void SelectMacro(const OUString&, const OUString&); + void SelectMacro(std::u16string_view, const OUString&); void SetStylesInfo(SfxStylesInfo_Impl* pStyles); }; |