summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-09-27 09:37:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-27 13:31:20 +0200
commit0a7eac8576f313dcaf27ee45326d71fd6b5aea1e (patch)
tree1af6ac4da7b61da0eb5b1a68cc2d7a7491ec1f24 /basic/inc
parent322ea272bba63ba779120ca5ead4a4b40d1bb93f (diff)
use more string_view in accessibility..configmgr
Change-Id: Ie16d36faac7d06e275348ed68e6c6b2518534fd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140636 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/sbxform.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/inc/sbxform.hxx b/basic/inc/sbxform.hxx
index c14d950a8f6b..49ef777866c0 100644
--- a/basic/inc/sbxform.hxx
+++ b/basic/inc/sbxform.hxx
@@ -116,7 +116,7 @@ class SbxBasicFormater {
static OUString GetNegFormatString( std::u16string_view sFormatStrg, bool & bFound );
static OUString Get0FormatString( std::u16string_view sFormatStrg, bool & bFound );
static OUString GetNullFormatString( std::u16string_view sFormatStrg, bool & bFound );
- static void AnalyseFormatString( const OUString& sFormatStrg,
+ static void AnalyseFormatString( std::u16string_view sFormatStrg,
short& nNoOfDigitsLeft, short& nNoOfDigitsRight,
short& nNoOfOptionalDigitsLeft,
short& nNoOfExponentDigits,
@@ -124,7 +124,7 @@ class SbxBasicFormater {
bool& bPercent, bool& bCurrency, bool& bScientific,
bool& bGenerateThousandSeparator,
short& nMultipleThousandSeparators );
- void ScanFormatString( double dNumber, const OUString& sFormatStrg,
+ void ScanFormatString( double dNumber, std::u16string_view sFormatStrg,
OUString& sReturnStrg, bool bCreateSign );
//*** Data ***