diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-19 00:31:00 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-19 00:32:04 +0900 |
commit | eed249f55522f3a9df0742430d1f738efafa00f4 (patch) | |
tree | 3aa71fe1106d367eff666c5d8c8daebaf01516fe /sw/source/ui/docvw/edtdd.cxx | |
parent | 8600bc24bbc9029e92bea6102bff2921bc10b33e (diff) |
sal_Bool to bool
Change-Id: I36603ac94b190a67b61b63b5ae0d981c09fcb270
Diffstat (limited to 'sw/source/ui/docvw/edtdd.cxx')
-rw-r--r-- | sw/source/ui/docvw/edtdd.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/ui/docvw/edtdd.cxx b/sw/source/ui/docvw/edtdd.cxx index fab1fa86cd11..7b9d970be4bf 100644 --- a/sw/source/ui/docvw/edtdd.cxx +++ b/sw/source/ui/docvw/edtdd.cxx @@ -45,24 +45,24 @@ using namespace ::com::sun::star; // no include "dbgoutsw.hxx" here!!!!!! extern bool bNoInterrupt; -extern sal_Bool bFrmDrag; -extern sal_Bool bDDTimerStarted; +extern bool bFrmDrag; +extern bool bDDTimerStarted; -sal_Bool bExecuteDrag = sal_False; +bool bExecuteDrag = false; void SwEditWin::StartDDTimer() { aTimer.SetTimeoutHdl(LINK(this, SwEditWin, DDHandler)); aTimer.SetTimeout(480); aTimer.Start(); - bDDTimerStarted = sal_True; + bDDTimerStarted = true; } void SwEditWin::StopDDTimer(SwWrtShell *pSh, const Point &rPt) { aTimer.Stop(); - bDDTimerStarted = sal_False; + bDDTimerStarted = false; if(!pSh->IsSelFrmMode()) pSh->SetCursor(&rPt, false); aTimer.SetTimeoutHdl(LINK(this,SwEditWin, TimerHandler)); @@ -118,8 +118,8 @@ void SwEditWin::StartDrag( sal_Int8 /*nAction*/, const Point& rPosPixel ) { bMBPressed = sal_False; ReleaseMouse(); - bFrmDrag = sal_False; - bExecuteDrag = sal_True; + bFrmDrag = false; + bExecuteDrag = true; SwEditWin::nDDStartPosY = aDocPos.Y(); SwEditWin::nDDStartPosX = aDocPos.X(); aMovePos = aDocPos; @@ -483,16 +483,16 @@ sal_Int8 SwEditWin::AcceptDrop( const AcceptDropEvent& rEvt ) IMPL_LINK_NOARG(SwEditWin, DDHandler) { - bDDTimerStarted = sal_False; + bDDTimerStarted = false; aTimer.Stop(); aTimer.SetTimeout(240); bMBPressed = sal_False; ReleaseMouse(); - bFrmDrag = sal_False; + bFrmDrag = false; if ( rView.GetViewFrame() ) { - bExecuteDrag = sal_True; + bExecuteDrag = true; StartExecuteDrag(); } return 0; |