summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:14 +0200
commitd1d67644164f57c07ffb3355e3279326866613a2 (patch)
tree0b9e6945aee378fc669a575da1d72ab6a361cb28 /sax
parentc0fc1c54a3372400f6156ed830293cac3279d6f8 (diff)
loplugin:defaultparams
Change-Id: Ie7a5b5defb52fea98baed8183f424dd21990e9b9
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index ef3ebe521655..ab8e43bc74ec 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -617,7 +617,7 @@ bool Converter::convertDouble(double& rValue,
const OUString& rString, sal_Int16 nSourceUnit, sal_Int16 nTargetUnit)
{
rtl_math_ConversionStatus eStatus;
- rValue = ::rtl::math::stringToDouble( rString, '.', ',', &eStatus, NULL );
+ rValue = ::rtl::math::stringToDouble( rString, '.', ',', &eStatus );
if(eStatus == rtl_math_ConversionStatus_Ok)
{
@@ -636,7 +636,7 @@ bool Converter::convertDouble(double& rValue,
bool Converter::convertDouble(double& rValue, const OUString& rString)
{
rtl_math_ConversionStatus eStatus;
- rValue = ::rtl::math::stringToDouble( rString, '.', ',', &eStatus, NULL );
+ rValue = ::rtl::math::stringToDouble( rString, '.', ',', &eStatus );
return ( eStatus == rtl_math_ConversionStatus_Ok );
}