diff options
Diffstat (limited to 'sw/source/ui/web/wview.cxx')
-rw-r--r-- | sw/source/ui/web/wview.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/ui/web/wview.cxx b/sw/source/ui/web/wview.cxx index 4a0f2506c2..1e3b661e8a 100644 --- a/sw/source/ui/web/wview.cxx +++ b/sw/source/ui/web/wview.cxx @@ -136,11 +136,11 @@ SwWebView::~SwWebView() void SwWebView::SelectShell() { // Entscheidung, ob UpdateTable gerufen werden muss - BOOL bUpdateTable = FALSE; + sal_Bool bUpdateTable = sal_False; const SwFrmFmt* pCurTableFmt = GetWrtShell().GetTableFmt(); if(pCurTableFmt && pCurTableFmt != GetLastTblFrmFmt()) { - bUpdateTable = TRUE; // kann erst spaeter ausgefuehrt werden + bUpdateTable = sal_True; // kann erst spaeter ausgefuehrt werden } SetLastTblFrmFmt(pCurTableFmt); //SEL_TBL und SEL_TBL_CELLS koennen verodert sein! @@ -150,7 +150,7 @@ void SwWebView::SelectShell() int _nSelectionType = GetSelectionType(); if ( nNewSelectionType == _nSelectionType ) { - GetViewFrame()->GetBindings().InvalidateAll( FALSE ); + GetViewFrame()->GetBindings().InvalidateAll( sal_False ); if ( _nSelectionType & nsSelectionType::SEL_OLE || _nSelectionType & nsSelectionType::SEL_GRF ) //Fuer Grafiken und OLE kann sich natuerlich das Verb aendern! @@ -173,8 +173,8 @@ void SwWebView::SelectShell() pBarCfg->SetTopToolbar( _nSelectionType, nId ); SfxShell *pSfxShell; - USHORT i; - for ( i = 0; TRUE; ++i ) + sal_uInt16 i; + for ( i = 0; sal_True; ++i ) { pSfxShell = rDispatcher.GetShell( i ); if ( !( pSfxShell->ISA( SwBaseShell ) || @@ -186,15 +186,15 @@ void SwWebView::SelectShell() rDispatcher.Pop( *pSfxShell, SFX_SHELL_POP_UNTIL | SFX_SHELL_POP_DELETE); } - BOOL bInitFormShell = FALSE; + sal_Bool bInitFormShell = sal_False; if( !GetFormShell() ) { - bInitFormShell = TRUE; + bInitFormShell = sal_True; SetFormShell( new FmFormShell( this ) ); rDispatcher.Push( *GetFormShell() ); } - BOOL bSetExtInpCntxt = FALSE; + sal_Bool bSetExtInpCntxt = sal_False; _nSelectionType = nNewSelectionType; SetSelectionType( _nSelectionType ); ShellModes eShellMode; @@ -266,7 +266,7 @@ void SwWebView::SelectShell() } else { - bSetExtInpCntxt = TRUE; + bSetExtInpCntxt = sal_True; eShellMode = SHELL_MODE_TEXT; if ( _nSelectionType & nsSelectionType::SEL_NUM ) { @@ -290,7 +290,7 @@ void SwWebView::SelectShell() if( !GetDocShell()->IsReadOnly() ) { if( bSetExtInpCntxt && GetWrtShell().HasReadonlySel() ) - bSetExtInpCntxt = FALSE; + bSetExtInpCntxt = sal_False; InputContext aCntxt( GetEditWin().GetInputContext() ); aCntxt.SetOptions( bSetExtInpCntxt @@ -324,7 +324,7 @@ void SwWebView::SelectShell() //Guenstiger Zeitpunkt fuer die Kommunikation mit OLE-Objekten? if ( GetDocShell()->GetDoc()->IsOLEPrtNotifyPending() ) - GetDocShell()->GetDoc()->PrtOLENotify( FALSE ); + GetDocShell()->GetDoc()->PrtOLENotify( sal_False ); //jetzt das Tabellen-Update if(bUpdateTable) |