summaryrefslogtreecommitdiff
path: root/chart2/source/inc/CommonFunctors.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:09:30 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 10:52:46 +0200
commit70a30fd179266f65500b880ccb0f87011b670fca (patch)
tree881d1723620d030171ff3de9bad2cc96f80994ed /chart2/source/inc/CommonFunctors.hxx
parent9045d0bf35c9b4d5f6d8f791017124341abf8d4f (diff)
loplugin: defaultparams
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
Diffstat (limited to 'chart2/source/inc/CommonFunctors.hxx')
-rw-r--r--chart2/source/inc/CommonFunctors.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx
index 692b0da2fe8c..226eeed442d8 100644
--- a/chart2/source/inc/CommonFunctors.hxx
+++ b/chart2/source/inc/CommonFunctors.hxx
@@ -85,8 +85,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString : public ::std::unary_function< ::co
* pDouble,
rtl_math_StringFormat_Automatic,
-1, // use maximum decimal places available
- sal_Char( '.' ), // decimal separator
- false // do not erase trailing zeros
+ sal_Char( '.' ) // decimal separator
);
}
else if( eClass == ::com::sun::star::uno::TypeClass_STRING )
@@ -128,8 +127,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString : public ::std::unary_function<
fNumber,
rtl_math_StringFormat_Automatic,
-1, // use maximum number of decimal places
- static_cast< sal_Char >( '.' ),
- false // do not erase trailing zeros
+ static_cast< sal_Char >( '.' )
);
}
};