summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-10-06 08:57:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-06 13:03:03 +0200
commitce6babf777882d78dbf322de74f321354ac7b351 (patch)
treed016b73b5622d36c1dfbbd3f2f15ace42c9ac507 /sc/source/ui/inc
parent3c7cbaf19a5108e3870df6556c16ef25710011a2 (diff)
use more string_view in sc
Change-Id: Ic7126ac57f8cc06b37f3098603f0710602f0ab28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140998 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/inputhdl.hxx2
-rw-r--r--sc/source/ui/inc/tpformula.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 067798b7cd8b..1506a0c2a2b3 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -257,7 +257,7 @@ public:
// Communication with the autopilot function
void InputGetSelection ( sal_Int32& rStart, sal_Int32& rEnd );
void InputSetSelection ( sal_Int32 nStart, sal_Int32 nEnd );
- void InputReplaceSelection ( const OUString& rStr );
+ void InputReplaceSelection ( std::u16string_view aStr );
void InputTurnOffWinEngine();
bool IsFormulaMode() const { return bFormulaMode; }
diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx
index abc14f4fde58..f920c7bb8be7 100644
--- a/sc/source/ui/inc/tpformula.hxx
+++ b/sc/source/ui/inc/tpformula.hxx
@@ -43,7 +43,7 @@ private:
void UpdateCustomCalcRadioButtons(bool bDefault);
void LaunchCustomCalcSettings();
- bool IsValidSeparator(const OUString& rSep, bool bArray) const;
+ bool IsValidSeparator(std::u16string_view aSep, bool bArray) const;
DECL_LINK(ButtonHdl, weld::Button&, void);
DECL_LINK(ToggleHdl, weld::Toggleable&, void);