summaryrefslogtreecommitdiff
path: root/include/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-09-28 10:30:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-28 11:28:53 +0200
commit01c9e8808bdee7ee355a037fda2889150f21f6fe (patch)
treeaa6fe7bc9bf7b7db16fb7ce0da218c31c098e0ab /include/formula
parenta1d6ec66ce4b8dd84f0962f9b749b831cbb05baf (diff)
use more string_view in formula
Change-Id: I3d9feafb0e2010f284a1700becbe9b701edc9849 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140697 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/formulahelper.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/formula/formulahelper.hxx b/include/formula/formulahelper.hxx
index 02f757dc3726..f57a276fb178 100644
--- a/include/formula/formulahelper.hxx
+++ b/include/formula/formulahelper.hxx
@@ -62,17 +62,17 @@ namespace formula
sal_Int32 GetFunctionStart( const OUString& rFormula, sal_Int32 nStart,
bool bBack, OUString* pFuncName = nullptr ) const;
- sal_Int32 GetFunctionEnd ( const OUString& rFormula, sal_Int32 nStart ) const;
+ sal_Int32 GetFunctionEnd ( std::u16string_view rFormula, sal_Int32 nStart ) const;
- sal_Int32 GetArgStart ( const OUString& rFormula, sal_Int32 nStart,
+ sal_Int32 GetArgStart ( std::u16string_view rFormula, sal_Int32 nStart,
sal_uInt16 nArg ) const;
void GetArgStrings ( ::std::vector< OUString >& _rArgs,
- const OUString& rFormula,
+ std::u16string_view rFormula,
sal_Int32 nFuncPos,
sal_uInt16 nArgs ) const;
- void FillArgStrings ( const OUString& rFormula,
+ void FillArgStrings ( std::u16string_view rFormula,
sal_Int32 nFuncPos,
sal_uInt16 nArgs,
::std::vector< OUString >& _rArgs ) const;