diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:03:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:30 +0100 |
commit | f96f38f8f8d711ca3606a6ab2bbebcf8d830ffa6 (patch) | |
tree | dbde8b23ff1c66dbc0a253294cf285f251eefefa /basic/source/comp/loops.cxx | |
parent | fc320c41b599e54238bfdee6f96ab8de159f1d7b (diff) |
bool improvements
Change-Id: I571354540f1ab108c55d32c20786d34a799c3bed
Diffstat (limited to 'basic/source/comp/loops.cxx')
-rw-r--r-- | basic/source/comp/loops.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index e486039f14ad..396f2833c99e 100644 --- a/basic/source/comp/loops.cxx +++ b/basic/source/comp/loops.cxx @@ -48,7 +48,7 @@ void SbiParser::If() eTok = Peek(); if( IsEof() ) { - Error( SbERR_BAD_BLOCK, IF ); bAbort = sal_True; return; + Error( SbERR_BAD_BLOCK, IF ); bAbort = true; return; } } while( eTok == ELSEIF ) @@ -56,7 +56,7 @@ void SbiParser::If() // jump to ENDIF in case of a successful IF/ELSEIF if( iJmp >= JMP_TABLE_SIZE ) { - Error( SbERR_PROG_TOO_LARGE ); bAbort = sal_True; return; + Error( SbERR_PROG_TOO_LARGE ); bAbort = true; return; } pnJmpToEndLbl[iJmp++] = aGen.Gen( _JUMP, 0 ); @@ -76,7 +76,7 @@ void SbiParser::If() eTok = Peek(); if( IsEof() ) { - Error( SbERR_BAD_BLOCK, ELSEIF ); bAbort = sal_True; return; + Error( SbERR_BAD_BLOCK, ELSEIF ); bAbort = true; return; } } } |