diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-05 07:57:51 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-07 19:06:00 -0500 |
commit | 6ed0bcdd5bc07692fc81406942509eb9c30d3904 (patch) | |
tree | b49fff01a6291992327ebefedc30f7ccaf96a990 /basctl/source | |
parent | f791a7ba711f68843779b5929f15cec611b8c545 (diff) |
FASTBOOL to bool conversion
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedfunc.cxx | 2 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedmod.cxx | 6 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 8 | ||||
-rw-r--r-- | basctl/source/dlged/dlgedpage.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/dlgedmod.hxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/dlgedobj.hxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/dlgedpage.hxx | 2 |
9 files changed, 17 insertions, 17 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 3a3a162f5b5e..4f3079cdaec7 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -328,10 +328,10 @@ void __EXPORT BasicIDEShell::Move() ((ModulWindow*)pCurWin)->FrameWindowMoved(); } -void __EXPORT BasicIDEShell::ShowCursor( FASTBOOL bOn ) +void __EXPORT BasicIDEShell::ShowCursor( bool bOn ) { if ( pCurWin && pCurWin->ISA( ModulWindow ) ) - ((ModulWindow*)pCurWin)->ShowCursor( (BOOL)bOn ); + ((ModulWindow*)pCurWin)->ShowCursor( bOn ); } // Hack for #101048 diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx index 576fd4cab99d..af0eebd11e91 100644 --- a/basctl/source/dlged/dlgedfunc.cxx +++ b/basctl/source/dlged/dlgedfunc.cxx @@ -302,7 +302,7 @@ BOOL DlgEdFunc::KeyInput( const KeyEvent& rKEvt ) if ( pView->IsDragObj() ) { - FASTBOOL bWasNoSnap = rDragStat.IsNoSnap(); + bool bWasNoSnap = rDragStat.IsNoSnap(); BOOL bWasSnapEnabled = pView->IsSnapEnabled(); // switch snapping off diff --git a/basctl/source/dlged/dlgedmod.cxx b/basctl/source/dlged/dlgedmod.cxx index 5e3bb6b42656..d8ee1f87baf2 100644 --- a/basctl/source/dlged/dlgedmod.cxx +++ b/basctl/source/dlged/dlgedmod.cxx @@ -55,7 +55,7 @@ DlgEdModel::~DlgEdModel() //---------------------------------------------------------------------------- -SdrPage* DlgEdModel::AllocPage(FASTBOOL bMasterPage) +SdrPage* DlgEdModel::AllocPage(bool bMasterPage) { DBG_CHKTHIS(DlgEdModel, 0); return new DlgEdPage(*this, bMasterPage); @@ -63,9 +63,9 @@ SdrPage* DlgEdModel::AllocPage(FASTBOOL bMasterPage) //---------------------------------------------------------------------------- -void DlgEdModel::DlgEdModelChanged( FASTBOOL bChanged ) +void DlgEdModel::DlgEdModelChanged(bool bChanged ) { - SetChanged( static_cast< sal_Bool > ( bChanged ) ); + SetChanged( bChanged ); } //---------------------------------------------------------------------------- diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index c8799571d742..f21d7990012e 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -1049,9 +1049,9 @@ void DlgEdObj::NbcResize(const Point& rRef, const Fraction& xFract, const Fracti //---------------------------------------------------------------------------- -FASTBOOL DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) +bool DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) { - FASTBOOL bResult = SdrUnoObj::EndCreate(rStat, eCmd); + bool bResult = SdrUnoObj::EndCreate(rStat, eCmd); SetDefaults(); StartListening(); @@ -1825,9 +1825,9 @@ void DlgEdForm::NbcResize(const Point& rRef, const Fraction& xFract, const Fract //---------------------------------------------------------------------------- -FASTBOOL DlgEdForm::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) +bool DlgEdForm::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) { - FASTBOOL bResult = SdrUnoObj::EndCreate(rStat, eCmd); + bool bResult = SdrUnoObj::EndCreate(rStat, eCmd); // stop listening EndListening(sal_False); diff --git a/basctl/source/dlged/dlgedpage.cxx b/basctl/source/dlged/dlgedpage.cxx index eaabbfef0ff2..03f55b04f295 100644 --- a/basctl/source/dlged/dlgedpage.cxx +++ b/basctl/source/dlged/dlgedpage.cxx @@ -39,7 +39,7 @@ TYPEINIT1( DlgEdPage, SdrPage ); //---------------------------------------------------------------------------- -DlgEdPage::DlgEdPage( DlgEdModel& rModel, FASTBOOL bMasterPage ) +DlgEdPage::DlgEdPage( DlgEdModel& rModel, bool bMasterPage ) :SdrPage( rModel, bMasterPage ) { } diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index a4ff65dd9c7a..0ad7f91923f7 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -151,7 +151,7 @@ protected: virtual void Deactivate(BOOL bMDI); virtual void Move(); - virtual void ShowCursor( FASTBOOL bOn = TRUE ); + virtual void ShowCursor( bool bOn = true ); void CreateModulWindowLayout(); void DestroyModulWindowLayout(); diff --git a/basctl/source/inc/dlgedmod.hxx b/basctl/source/inc/dlgedmod.hxx index 5a0118fe25eb..060c534b92a0 100644 --- a/basctl/source/inc/dlgedmod.hxx +++ b/basctl/source/inc/dlgedmod.hxx @@ -54,9 +54,9 @@ public: DlgEdModel(); virtual ~DlgEdModel(); - virtual void DlgEdModelChanged( FASTBOOL bChanged = TRUE ); + virtual void DlgEdModelChanged( bool bChanged = true ); - virtual SdrPage* AllocPage(FASTBOOL bMasterPage); + virtual SdrPage* AllocPage(bool bMasterPage); virtual Window* GetCurDocViewWin(); }; diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index a2e817c78055..d9fb9e6e293c 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -68,7 +68,7 @@ protected: virtual void NbcMove( const Size& rSize ); virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact); - virtual FASTBOOL EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd); + virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd); DECL_LINK(OnCreate, void* ); @@ -160,7 +160,7 @@ protected: virtual void NbcMove( const Size& rSize ); virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact); - virtual FASTBOOL EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd); + virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd); public: TYPEINFO(); diff --git a/basctl/source/inc/dlgedpage.hxx b/basctl/source/inc/dlgedpage.hxx index ec1f7d10600b..bb017c91e039 100644 --- a/basctl/source/inc/dlgedpage.hxx +++ b/basctl/source/inc/dlgedpage.hxx @@ -45,7 +45,7 @@ private: public: TYPEINFO(); - DlgEdPage( DlgEdModel& rModel, FASTBOOL bMasterPage=FALSE ); + DlgEdPage( DlgEdModel& rModel, bool bMasterPage = false ); DlgEdPage( const DlgEdPage& ); virtual ~DlgEdPage(); |