summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/InternalDataProvider.hxx2
-rw-r--r--chart2/source/inc/RegressionCurveHelper.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/inc/InternalDataProvider.hxx b/chart2/source/inc/InternalDataProvider.hxx
index 7e3291f2f582..1e5821f94e6c 100644
--- a/chart2/source/inc/InternalDataProvider.hxx
+++ b/chart2/source/inc/InternalDataProvider.hxx
@@ -183,7 +183,7 @@ private:
createDataSequenceAndAddToMap( const OUString & rRangeRepresentation );
css::uno::Reference<css::chart2::data::XDataSequence>
- createDataSequenceFromArray( const OUString& rArrayStr, const OUString& rRole );
+ createDataSequenceFromArray( const OUString& rArrayStr, std::u16string_view rRole );
void deleteMapReferences( const OUString & rRangeRepresentation );
diff --git a/chart2/source/inc/RegressionCurveHelper.hxx b/chart2/source/inc/RegressionCurveHelper.hxx
index 44bc92744dc7..83fc72e65649 100644
--- a/chart2/source/inc/RegressionCurveHelper.hxx
+++ b/chart2/source/inc/RegressionCurveHelper.hxx
@@ -39,7 +39,7 @@ namespace chart::RegressionCurveHelper
/// returns a model regression curve
css::uno::Reference<css::chart2::XRegressionCurve>
- createRegressionCurveByServiceName( const OUString& aServiceName );
+ createRegressionCurveByServiceName( std::u16string_view aServiceName );
OOO_DLLPUBLIC_CHARTTOOLS bool hasMeanValueLine(
const css::uno::Reference<css::chart2::XRegressionCurveContainer> & xRegCnt );
@@ -114,7 +114,7 @@ namespace chart::RegressionCurveHelper
/// returns a calculator object for regression curves (used by the view)
OOO_DLLPUBLIC_CHARTTOOLS css::uno::Reference<css::chart2::XRegressionCurveCalculator>
- createRegressionCurveCalculatorByServiceName( const OUString& aServiceName );
+ createRegressionCurveCalculatorByServiceName( std::u16string_view aServiceName );
/** recalculates the regression parameters according to the data given in
the data source.