summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:20:16 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:27:17 +0300
commit354f88b376195003841fc8474a600cf22d8b3a05 (patch)
treee5473dae1596eda52f35935e8bfc5504b2237a72
parentc4648a4c0f5920f8f070bbbe8f18b165b6b70802 (diff)
WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operation
-rw-r--r--sc/source/ui/view/viewfunc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 6324fb2c3188..dacdb113f932 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -488,16 +488,16 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, const String& rS
do
{
bAgain = false;
- sal_Bool bAddEqual = false;
+ bool bAddEqual = false;
ScTokenArray* pArrFirst = pArr = aComp.CompileString( aFormula );
- sal_Bool bCorrected = aComp.IsCorrected();
+ bool bCorrected = aComp.IsCorrected();
if ( bCorrected )
{ // probieren, mit erster Parser-Korrektur neu zu parsen
pArr = aComp.CompileString( aComp.GetCorrectedFormula() );
}
if ( !pArr->GetCodeError() )
{
- bAddEqual = sal_True;
+ bAddEqual = true;
aComp.CompileTokenArray();
bCorrected |= aComp.IsCorrected();
}