diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-12 10:47:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:01 +0200 |
commit | 11cea9af959f6f39c863310b8ba8cdb3dff4a8cd (patch) | |
tree | 31020459e5db1b40d779d55ee5a7c184b57719a6 /sc/source/core/data/global2.cxx | |
parent | f5c4fd14a8b36e565f3c43158197f2906027f3f0 (diff) |
sal_Bool->bool
Change-Id: I42f3e248cc368a8cea47ff8ff124df654d445879
Diffstat (limited to 'sc/source/core/data/global2.cxx')
-rw-r--r-- | sc/source/core/data/global2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx index db1a66400420..324b1c0d2be1 100644 --- a/sc/source/core/data/global2.cxx +++ b/sc/source/core/data/global2.cxx @@ -273,15 +273,15 @@ ScSolveParam& ScSolveParam::operator=( const ScSolveParam& r ) //------------------------------------------------------------------------ -sal_Bool ScSolveParam::operator==( const ScSolveParam& r ) const +bool ScSolveParam::operator==( const ScSolveParam& r ) const { - sal_Bool bEqual = (aRefFormulaCell == r.aRefFormulaCell) + bool bEqual = (aRefFormulaCell == r.aRefFormulaCell) && (aRefVariableCell == r.aRefVariableCell); if ( bEqual ) { if ( !pStrTargetVal && !r.pStrTargetVal ) - bEqual = sal_True; + bEqual = true; else if ( !pStrTargetVal || !r.pStrTargetVal ) bEqual = false; else if ( pStrTargetVal && r.pStrTargetVal ) |