diff options
Diffstat (limited to 'sw/source/core/frmedt/feshview.cxx')
-rw-r--r-- | sw/source/core/frmedt/feshview.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index e12430a324ee..84f8d9a2a64c 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -690,7 +690,7 @@ long SwFEShell::EndDrag( const Point *, sal_Bool ) // DrawUndo on to flyframes are not stored // The flys change the flag. GetDoc()->GetIDocumentUndoRedo().DoDrawUndo(true); - ChgAnchor( 0, sal_True ); + ChgAnchor( 0, true ); EndUndo( UNDO_END ); @@ -1634,7 +1634,7 @@ sal_Bool SwFEShell::ImpEndCreate() // default for controls character bound, otherwise paragraph bound. SwFmtAnchor aAnch; const SwFrm *pAnch = 0; - sal_Bool bCharBound = sal_False; + bool bCharBound = false; if( rSdrObj.ISA( SdrUnoObj ) ) { SwPosition aPos( GetDoc()->GetNodes() ); @@ -1650,7 +1650,7 @@ sal_Bool SwFEShell::ImpEndCreate() pAnch->GetCharRect( aTmp, aPos ); // The crsr should not be too far away - bCharBound = sal_True; + bCharBound = true; Rectangle aRect( aTmp.SVRect() ); aRect.Left() -= MM50*2; aRect.Top() -= MM50*2; @@ -1658,7 +1658,7 @@ sal_Bool SwFEShell::ImpEndCreate() aRect.Bottom()+= MM50*2; if( !aRect.IsOver( rBound ) && !::GetHtmlMode( GetDoc()->GetDocShell() )) - bCharBound = sal_False; + bCharBound = false; // anchor in header/footer also not allowed. if( bCharBound ) @@ -2115,7 +2115,7 @@ short SwFEShell::GetAnchorId() const |* *************************************************************************/ -void SwFEShell::ChgAnchor( int eAnchorId, sal_Bool bSameOnly, sal_Bool bPosCorr ) +void SwFEShell::ChgAnchor( int eAnchorId, bool bSameOnly, bool bPosCorr ) { OSL_ENSURE( Imp()->HasDrawView(), "ChgAnchor without DrawView?" ); const SdrMarkList &rMrkList = Imp()->GetDrawView()->GetMarkedObjectList(); |