diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-26 11:18:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:08 +0200 |
commit | f288d7dcbd65e86e2c4f6519fac91eece8f01034 (patch) | |
tree | ce706f8d0aca0501f7ca5976b4c3ff33486ece42 /sw | |
parent | d7c5d9e3853af0261204fde6c14b349d9c3d9863 (diff) |
basic: sal_Bool->bool
Change-Id: Id4952b6f97f9e8f917fea5651dee91499d109e48
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/bastyp/calc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 4bd0726f461f..4840c162c876 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -336,8 +336,8 @@ SwCalc::SwCalc( SwDoc& rD ) VarTable[ aHashValue[ n ] ] = new SwCalcExp( sTmpStr, nVal, 0 ); } - ((SwCalcExp*)VarTable[ aHashValue[ 0 ] ])->nValue.PutBool( sal_False ); - ((SwCalcExp*)VarTable[ aHashValue[ 1 ] ])->nValue.PutBool( sal_True ); + ((SwCalcExp*)VarTable[ aHashValue[ 0 ] ])->nValue.PutBool( false ); + ((SwCalcExp*)VarTable[ aHashValue[ 1 ] ])->nValue.PutBool( true ); ((SwCalcExp*)VarTable[ aHashValue[ 2 ] ])->nValue.PutDouble( F_PI ); ((SwCalcExp*)VarTable[ aHashValue[ 3 ] ])->nValue.PutDouble( 2.7182818284590452354 ); @@ -1597,7 +1597,7 @@ SwSbxValue::~SwSbxValue() sal_Bool SwSbxValue::GetBool() const { return SbxSTRING == GetType() ? !GetOUString().isEmpty() - : 0 != SbxValue::GetBool(); + : SbxValue::GetBool(); } double SwSbxValue::GetDouble() const |