summaryrefslogtreecommitdiff
path: root/sw/source/core/view/viewimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/viewimp.cxx')
-rw-r--r--sw/source/core/view/viewimp.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index eb6b177976..fbbb5dc14b 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -90,9 +90,9 @@ void SwViewImp::Init( const SwViewOption *pNewOpt )
pDrawView->SetWorkArea( pRoot->Frm().SVRect() );
if ( GetShell()->IsPreView() )
- pDrawView->SetAnimationEnabled( FALSE );
+ pDrawView->SetAnimationEnabled( sal_False );
- pDrawView->SetUseIncompatiblePathCreateInterface( FALSE );
+ pDrawView->SetUseIncompatiblePathCreateInterface( sal_False );
pDrawView->SetSolidMarkHdl(pNewOpt->IsSolidMarkHdl());
// it's a JOE interface !
@@ -113,8 +113,8 @@ SwViewImp::SwViewImp( ViewShell *pParent ) :
mpPgPrevwLayout( 0 )
{
bResetHdlHiddenPaint =
- bSmoothUpdate = bStopSmooth = bStopPrt = FALSE;
- bFirstPageInvalid = TRUE;
+ bSmoothUpdate = bStopSmooth = bStopPrt = sal_False;
+ bFirstPageInvalid = sal_True;
}
SwViewImp::~SwViewImp()
@@ -139,16 +139,16 @@ void SwViewImp::DelRegion()
DELETEZ(pRegion);
}
-BOOL SwViewImp::AddPaintRect( const SwRect &rRect )
+sal_Bool SwViewImp::AddPaintRect( const SwRect &rRect )
{
if ( rRect.IsOver( pSh->VisArea() ) )
{
if ( !pRegion )
pRegion = new SwRegionRects( pSh->VisArea() );
(*pRegion) -= rRect;
- return TRUE;
+ return sal_True;
}
- return FALSE;
+ return sal_False;
}
void SwViewImp::CheckWaitCrsr()
@@ -157,21 +157,21 @@ void SwViewImp::CheckWaitCrsr()
pLayAct->CheckWaitCrsr();
}
-BOOL SwViewImp::IsCalcLayoutProgress() const
+sal_Bool SwViewImp::IsCalcLayoutProgress() const
{
if ( pLayAct )
return pLayAct->IsCalcLayout();
- return FALSE;
+ return sal_False;
}
-BOOL SwViewImp::IsUpdateExpFlds()
+sal_Bool SwViewImp::IsUpdateExpFlds()
{
if ( pLayAct && pLayAct->IsCalcLayout() )
{
pLayAct->SetUpdateExpFlds();
- return TRUE;
+ return sal_True;
}
- return FALSE;
+ return sal_False;
}
void SwViewImp::SetFirstVisPage()
@@ -206,7 +206,7 @@ void SwViewImp::SetFirstVisPage()
}
pFirstVisPage = pPage ? pPage : (SwPageFrm*)pSh->GetLayout()->Lower();
}
- bFirstPageInvalid = FALSE;
+ bFirstPageInvalid = sal_False;
}
void SwViewImp::MakeDrawView()
@@ -468,7 +468,7 @@ void SwViewImp::FireAccessibleEvents()
IMPL_LINK(SwViewImp, SetStopPrt, void *, EMPTYARG)
{
- bStopPrt = TRUE;
+ bStopPrt = sal_True;
return 0;
}