diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 11:37:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 13:50:04 +0100 |
commit | 4412f714269737cbcad4f0733c45dcb07d6d51c0 (patch) | |
tree | 16902f49cc6c985299723cfeba3db277c8bbb339 /sw/inc/calc.hxx | |
parent | 21a1c899c07c924c1d8263814d7b8c2d2eea676f (diff) |
#i114412# dubious delete in SwCalc::Str2Double
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r-- | sw/inc/calc.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index 74c785c88e83..4db19fc9a29d 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -230,11 +230,11 @@ public: void SetCalcError( SwCalcError eErr ) { eError = eErr; } BOOL IsCalcError() const { return 0 != eError; } - static BOOL Str2Double( const String& rStr, xub_StrLen& rPos, + static bool Str2Double( const String& rStr, xub_StrLen& rPos, double& rVal, - const LocaleDataWrapper* pData = 0 ); - static BOOL Str2Double( const String& rStr, xub_StrLen& rPos, - double& rVal, SwDoc* pDoc ); + LocaleDataWrapper const*const pData = 0 ); + static bool Str2Double( const String& rStr, xub_StrLen& rPos, + double& rVal, SwDoc *const pDoc ); SW_DLLPUBLIC static BOOL IsValidVarName( const String& rStr, String* pValidName = 0 ); |