diff options
Diffstat (limited to 'chart2/source/inc/CommonFunctors.hxx')
-rw-r--r-- | chart2/source/inc/CommonFunctors.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx index 0340c82b692e..7bb776490cda 100644 --- a/chart2/source/inc/CommonFunctors.hxx +++ b/chart2/source/inc/CommonFunctors.hxx @@ -39,7 +39,7 @@ template< typename T > { css::uno::Any operator() ( const T & aVal ) { - return css::uno::makeAny( aVal ); + return css::uno::Any( aVal ); } }; @@ -91,7 +91,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString */ struct OOO_DLLPUBLIC_CHARTTOOLS OUStringToDouble { - double operator() ( const OUString & rStr ) + double operator() ( std::u16string_view rStr ) { rtl_math_ConversionStatus eConversionStatus; double fResult = ::rtl::math::stringToDouble( rStr, '.', ',', & eConversionStatus ); |