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/dim.cxx | |
parent | fc320c41b599e54238bfdee6f96ab8de159f1d7b (diff) |
bool improvements
Change-Id: I571354540f1ab108c55d32c20786d34a799c3bed
Diffstat (limited to 'basic/source/comp/dim.cxx')
-rw-r--r-- | basic/source/comp/dim.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index 4a35b1c01739..faa521abfc40 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -510,10 +510,10 @@ void SbiParser::DefVar( SbiOpcode eOp, bool bStatic ) } pDef->SetDims( pDim->GetDims() ); if( bPersistantGlobal ) - pDef->SetGlobal( sal_True ); + pDef->SetGlobal( true ); SbiExpression aExpr( this, *pDef, pDim ); aExpr.Gen(); - pDef->SetGlobal( sal_False ); + pDef->SetGlobal( false ); aGen.Gen( (eOp == _STATIC) ? _DIM : eOp ); } } @@ -1100,7 +1100,7 @@ void SbiParser::DefDeclare( bool bPrivate ) if( pParDef->IsByVal() ) { // Reset to avoid additional byval in call to wrapper function - pParDef->SetByVal( sal_False ); + pParDef->SetByVal( false ); nTyp |= 0x8000; } aGen.Gen( _ARGTYP, nTyp ); @@ -1260,7 +1260,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate ) { if ( bVBASupportOn ) { - pProc->SetStatic( sal_True ); + pProc->SetStatic( true ); } else { @@ -1269,7 +1269,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate ) } else { - pProc->SetStatic( sal_False ); + pProc->SetStatic( false ); } // Normal case: Local variable->parameter->global variable pProc->GetLocals().SetParent( &pProc->GetParams() ); |