summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-09-09 20:11:57 +0200
committerMichael Stahl <mst@openoffice.org>2010-09-09 20:11:57 +0200
commitbaf03104b299fdfb3b9f5bd443fee9d7524c0b52 (patch)
treed0fec1fdcb06fd66c2b3bd37b6a20d5db93aba7d /sw/inc/calc.hxx
parent78b61efd2989af17d3b9e22f2f8c1219405f9755 (diff)
sw34bf01: #i114412#: calc.cxx:
change signature of Str2Double() for stupid Sun C++ and replace the other delete with an auto_ptr.
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx8
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 );