Kaydet (Commit) 11cea9af authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I42f3e248cc368a8cea47ff8ff124df654d445879
üst f5c4fd14
......@@ -37,7 +37,7 @@ struct ScSolveParam
~ScSolveParam();
ScSolveParam& operator= ( const ScSolveParam& r );
sal_Bool operator== ( const ScSolveParam& r ) const;
bool operator== ( const ScSolveParam& r ) const;
};
/**
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment