summaryrefslogtreecommitdiff
path: root/sw/inc/calc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 14:00:35 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:44:42 +0200
commit6aa35db39311dcd7965c9c9c21fcf4143a1f9b43 (patch)
tree04320eaf8c7481c1b496460624ee20ec11360ac2 /sw/inc/calc.hxx
parent1417061d1b2c110e7e690523a544b58e7ffd05c0 (diff)
sw: sal_Bool->bool
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
Diffstat (limited to 'sw/inc/calc.hxx')
-rw-r--r--sw/inc/calc.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx
index ead65e624129..007e5371810f 100644
--- a/sw/inc/calc.hxx
+++ b/sw/inc/calc.hxx
@@ -114,7 +114,7 @@ public:
{}
virtual ~SwSbxValue();
- sal_Bool GetBool() const;
+ bool GetBool() const;
double GetDouble() const;
SwSbxValue& MakeDouble();
@@ -175,7 +175,7 @@ class SwCalc
SwSbxValue Term();
SwSbxValue Prim();
- sal_Bool ParseTime( sal_uInt16*, sal_uInt16*, sal_uInt16* );
+ bool ParseTime( sal_uInt16*, sal_uInt16*, sal_uInt16* );
OUString GetColumnName( const OUString& rName );
OUString GetDBName( const OUString& rName );
@@ -189,8 +189,8 @@ public:
~SwCalc();
SwSbxValue Calculate( const OUString &rStr );
- OUString GetStrResult( const SwSbxValue& rValue, sal_Bool bRound = sal_True );
- OUString GetStrResult( double, sal_Bool bRound = sal_True );
+ OUString GetStrResult( const SwSbxValue& rValue, bool bRound = true );
+ OUString GetStrResult( double, bool bRound = true );
SwCalcExp* VarInsert( const OUString& r );
SwCalcExp* VarLook( const OUString &rStr, sal_uInt16 ins = 0 );
@@ -202,7 +202,7 @@ public:
void Pop();
void SetCalcError( SwCalcError eErr ) { eError = eErr; }
- sal_Bool IsCalcError() const { return 0 != eError; }
+ bool IsCalcError() const { return 0 != eError; }
static bool Str2Double( const OUString& rStr, sal_Int32& rPos,
double& rVal,
@@ -210,7 +210,7 @@ public:
static bool Str2Double( const OUString& rStr, sal_Int32& rPos,
double& rVal, SwDoc *const pDoc );
- SW_DLLPUBLIC static sal_Bool IsValidVarName( const OUString& rStr,
+ SW_DLLPUBLIC static bool IsValidVarName( const OUString& rStr,
OUString* pValidName = 0 );
};