summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-21 23:18:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-21 23:18:41 +0100
commitc791eff9e47023d5f3919969722cd1db6fec4243 (patch)
tree60e408ed96ee39a5466148faa07d48844605d509
parent02c2d088d62f610e0ec77c6c0d9eaea389efe7fe (diff)
add default arguments to make this less painful
-rw-r--r--sal/inc/rtl/math.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/inc/rtl/math.hxx b/sal/inc/rtl/math.hxx
index f7ef3b5bb..82fab5b87 100644
--- a/sal/inc/rtl/math.hxx
+++ b/sal/inc/rtl/math.hxx
@@ -142,8 +142,8 @@ inline void doubleToUStringBuffer( rtl::OUStringBuffer& rBuffer, double fValue,
*/
inline double stringToDouble(rtl::OString const & rString,
sal_Char cDecSeparator, sal_Char cGroupSeparator,
- rtl_math_ConversionStatus * pStatus,
- sal_Int32 * pParsedEnd)
+ rtl_math_ConversionStatus * pStatus = 0,
+ sal_Int32 * pParsedEnd = 0)
{
sal_Char const * pBegin = rString.getStr();
sal_Char const * pEnd;
@@ -161,8 +161,8 @@ inline double stringToDouble(rtl::OString const & rString,
inline double stringToDouble(rtl::OUString const & rString,
sal_Unicode cDecSeparator,
sal_Unicode cGroupSeparator,
- rtl_math_ConversionStatus * pStatus,
- sal_Int32 * pParsedEnd)
+ rtl_math_ConversionStatus * pStatus = 0,
+ sal_Int32 * pParsedEnd = 0)
{
sal_Unicode const * pBegin = rString.getStr();
sal_Unicode const * pEnd;