summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-03 11:07:23 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-12-03 15:18:31 +0100
commit3e6ad944ac6a7ccd465ed7a862157c467730f86b (patch)
tree86e79940de42c7f786244a21f074ba7701c190b7 /sc/source
parent63594c62024b894251e1c88d5f65980c553dec4e (diff)
don't bother passing const std::[u16]string_view by reference
Change-Id: I49477c20849dd99118d5935c0f1576429648bfca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177734 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 2425b311844c..8b5c948e9779 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -4412,7 +4412,7 @@ bool ScCompiler::ToUpperAsciiOrI18nIsAscii( OUString& rUpper, const OUString& rO
}
}
-short ScCompiler::GetPossibleParaCount( const std::u16string_view& rLambdaFormula ) const
+short ScCompiler::GetPossibleParaCount( std::u16string_view rLambdaFormula ) const
{
sal_Unicode cSep = mxSymbols->getSymbolChar(ocSep);
sal_Unicode cOpen = mxSymbols->getSymbolChar(ocOpen);