diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-23 21:08:35 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-23 21:17:08 +0900 |
commit | cd97df31f28d8941b53929493c9651fbfda46395 (patch) | |
tree | cb60454be5b7a0a6c75bd8d16d64f01a2a52e0ed /sw/source/ui/docvw/edtwin2.cxx | |
parent | 4ef1bed7ec34809537d42b49a0e8581c3809ff93 (diff) |
sal_Bool to bool
Change-Id: I27471e2331ff4813850fc5d3ca398ae6e1d86758
Diffstat (limited to 'sw/source/ui/docvw/edtwin2.cxx')
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index 6c0c4549086e..78cbd7fb54c0 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -100,10 +100,10 @@ static void lcl_GetRedlineHelp( const SwRedline& rRedl, String& rTxt, sal_Bool b void SwEditWin::RequestHelp(const HelpEvent &rEvt) { SwWrtShell &rSh = rView.GetWrtShell(); - sal_Bool bQuickBalloon = 0 != (rEvt.GetMode() & ( HELPMODE_QUICK | HELPMODE_BALLOON )); + bool bQuickBalloon = 0 != (rEvt.GetMode() & ( HELPMODE_QUICK | HELPMODE_BALLOON )); if(bQuickBalloon && rSh.GetViewOptions()->IsPreventTips()) return; - sal_Bool bWeiter = sal_True; + bool bWeiter = true; SET_CURR_SHELL(&rSh); String sTxt; Point aPos( PixelToLogic( ScreenToOutputPixel( rEvt.GetMousePosPixel() ) )); @@ -380,7 +380,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) } } - bWeiter = sal_False; + bWeiter = false; } if( bWeiter ) { @@ -419,7 +419,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) Rectangle aRect(rEvt.GetMousePosPixel(), aTxtSize); Help::ShowQuickHelp(this, aRect, sTxt); } - bWeiter = sal_False; + bWeiter = false; } } @@ -438,7 +438,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) pObj = aVEvt.pObj; sTxt = pField->GetURL(); - bWeiter = sal_False; + bWeiter = false; } } if (bWeiter && eHit == SDRHIT_TEXTEDIT) @@ -463,7 +463,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) if (pField ) { sTxt = ((const SvxURLField*) pField)->GetURL(); - bWeiter = sal_False; + bWeiter = false; } } } @@ -502,7 +502,7 @@ void SwEditWin::Paint(const Rectangle& rRect) SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); if(!pWrtShell) return; - sal_Bool bPaintShadowCrsr = sal_False; + bool bPaintShadowCrsr = false; if( pShadCrsr ) { Rectangle aRect( pShadCrsr->GetRect()); @@ -515,7 +515,7 @@ void SwEditWin::Paint(const Rectangle& rRect) // resides somewhat above, then everything is clipped outside // and we have to make the "inner part" at the end of the // Paint visible again. Otherwise Paint errors occur! - bPaintShadowCrsr = sal_True; + bPaintShadowCrsr = true; } } |