Kaydet (Commit) 354f88b3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation

üst c4648a4c
...@@ -488,16 +488,16 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rS ...@@ -488,16 +488,16 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rS
do do
{ {
bAgain = false; bAgain = false;
sal_Bool bAddEqual = false; bool bAddEqual = false;
ScTokenArray* pArrFirst = pArr = aComp.CompileString( aFormula ); ScTokenArray* pArrFirst = pArr = aComp.CompileString( aFormula );
sal_Bool bCorrected = aComp.IsCorrected(); bool bCorrected = aComp.IsCorrected();
if ( bCorrected ) if ( bCorrected )
{ // probieren, mit erster Parser-Korrektur neu zu parsen { // probieren, mit erster Parser-Korrektur neu zu parsen
pArr = aComp.CompileString( aComp.GetCorrectedFormula() ); pArr = aComp.CompileString( aComp.GetCorrectedFormula() );
} }
if ( !pArr->GetCodeError() ) if ( !pArr->GetCodeError() )
{ {
bAddEqual = sal_True; bAddEqual = true;
aComp.CompileTokenArray(); aComp.CompileTokenArray();
bCorrected |= aComp.IsCorrected(); bCorrected |= aComp.IsCorrected();
} }
......
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