summaryrefslogtreecommitdiffstats
path: root/chart2/source
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/inc/CommonConverters.hxx2
-rw-r--r--chart2/source/tools/CommonConverters.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/inc/CommonConverters.hxx b/chart2/source/inc/CommonConverters.hxx
index e8daa87d5c95..18adcebf7187 100644
--- a/chart2/source/inc/CommonConverters.hxx
+++ b/chart2/source/inc/CommonConverters.hxx
@@ -206,7 +206,7 @@ sal_Int16 getShortForLongAlso( const css::uno::Any& rAny );
OOO_DLLPUBLIC_CHARTTOOLS
bool replaceParamterInString( OUString & rInOutResourceString,
const OUString & rParamToReplace,
- const OUString & rReplaceWith );
+ std::u16string_view rReplaceWith );
} //namespace chart
diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx
index b4b4cbf62e72..2695d2da3418 100644
--- a/chart2/source/tools/CommonConverters.cxx
+++ b/chart2/source/tools/CommonConverters.cxx
@@ -519,7 +519,7 @@ sal_Int16 getShortForLongAlso( const uno::Any& rAny )
bool replaceParamterInString( OUString & rInOutResourceString,
const OUString & rParamToReplace,
- const OUString & rReplaceWith )
+ std::u16string_view rReplaceWith )
{
sal_Int32 nPos = rInOutResourceString.indexOf( rParamToReplace );
if( nPos == -1 )