diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 7f33ed417b2e29e5470724ea76967f64699a2662 (patch) | |
tree | abfa1432c5ffffe4c7502d4ddcaee918c584c69c /sw/source/ui/app/swwait.cxx | |
parent | 80731dbfcb48a2ffec30a4b2abe1ba8ada8f0169 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
Diffstat (limited to 'sw/source/ui/app/swwait.cxx')
-rw-r--r-- | sw/source/ui/app/swwait.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/app/swwait.cxx b/sw/source/ui/app/swwait.cxx index 4392bdea04ac..95dd59900a13 100644 --- a/sw/source/ui/app/swwait.cxx +++ b/sw/source/ui/app/swwait.cxx @@ -36,31 +36,31 @@ #include <swwait.hxx> -void SwDocShell::EnterWait( BOOL bLockDispatcher ) +void SwDocShell::EnterWait( sal_Bool bLockDispatcher ) { - SfxViewFrame *pFrame = SfxViewFrame::GetFirst( this, FALSE ); + SfxViewFrame *pFrame = SfxViewFrame::GetFirst( this, sal_False ); while ( pFrame ) { pFrame->GetWindow().EnterWait(); if ( bLockDispatcher ) - pFrame->GetDispatcher()->Lock( TRUE ); - pFrame = SfxViewFrame::GetNext( *pFrame, this, FALSE ); + pFrame->GetDispatcher()->Lock( sal_True ); + pFrame = SfxViewFrame::GetNext( *pFrame, this, sal_False ); } } -void SwDocShell::LeaveWait( BOOL bLockDispatcher ) +void SwDocShell::LeaveWait( sal_Bool bLockDispatcher ) { - SfxViewFrame *pFrame = SfxViewFrame::GetFirst( this, FALSE ); + SfxViewFrame *pFrame = SfxViewFrame::GetFirst( this, sal_False ); while ( pFrame ) { pFrame->GetWindow().LeaveWait(); if ( bLockDispatcher ) - pFrame->GetDispatcher()->Lock( FALSE ); - pFrame = SfxViewFrame::GetNext( *pFrame, this, FALSE ); + pFrame->GetDispatcher()->Lock( sal_False ); + pFrame = SfxViewFrame::GetNext( *pFrame, this, sal_False ); } } -SwWait::SwWait( SwDocShell &rDocShell, BOOL bLockDispatcher ) : +SwWait::SwWait( SwDocShell &rDocShell, sal_Bool bLockDispatcher ) : rDoc ( rDocShell ), bLock( bLockDispatcher ) { |