Kaydet (Commit) e1e75049 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

FASTBOOL to bool conversion

üst 98e53d91
......@@ -70,7 +70,7 @@ public:
virtual ~OReportModel();
virtual void SetChanged(sal_Bool bFlg = sal_True);
virtual SdrPage* AllocPage(FASTBOOL bMasterPage);
virtual SdrPage* AllocPage(bool bMasterPage);
virtual Window* GetCurDocViewWin();
virtual SdrPage* RemovePage(USHORT nPgNum);
/** returns the numbering type that is used to format page fields in drawing shapes */
......
......@@ -160,7 +160,7 @@ protected:
virtual void NbcMove( const Size& rSize );
virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
virtual void NbcSetLogicRect(const Rectangle& rRect);
virtual FASTBOOL EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual void SetSnapRectImpl(const Rectangle& _rRect);
virtual SdrPage* GetImplPage() const;
......@@ -203,7 +203,7 @@ protected:
virtual void NbcMove( const Size& rSize );
virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
virtual void NbcSetLogicRect(const Rectangle& rRect);
virtual FASTBOOL EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual void SetSnapRectImpl(const Rectangle& _rRect);
virtual SdrPage* GetImplPage() const;
......@@ -249,7 +249,7 @@ protected:
virtual void NbcMove( const Size& rSize );
virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
virtual void NbcSetLogicRect(const Rectangle& rRect);
virtual FASTBOOL EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
virtual void SetSnapRectImpl(const Rectangle& _rRect);
virtual SdrPage* GetImplPage() const;
......
......@@ -63,7 +63,7 @@ public:
OReportPage( OReportModel& rModel
,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection
,FASTBOOL bMasterPage=FALSE );
,bool bMasterPage = false );
virtual SdrPage* Clone() const;
......
......@@ -96,7 +96,7 @@ void OReportModel::detachController()
m_pUndoEnv->Clear(OXUndoEnvironment::Accessor());
}
//----------------------------------------------------------------------------
SdrPage* OReportModel::AllocPage(FASTBOOL /*bMasterPage*/)
SdrPage* OReportModel::AllocPage(bool /*bMasterPage*/)
{
DBG_CHKTHIS( rpt_OReportModel, 0);
OSL_ENSURE(0,"Who called me!");
......
......@@ -573,9 +573,9 @@ void OCustomShape::NbcSetLogicRect(const Rectangle& rRect)
SetPropsFromRect(rRect);
}
//----------------------------------------------------------------------------
FASTBOOL OCustomShape::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
bool OCustomShape::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
{
FASTBOOL bResult = SdrObjCustomShape::EndCreate(rStat, eCmd);
bool bResult = SdrObjCustomShape::EndCreate(rStat, eCmd);
if ( bResult )
{
OReportModel* pRptModel = static_cast<OReportModel*>(GetModel());
......@@ -815,10 +815,10 @@ void OUnoObject::NbcSetLogicRect(const Rectangle& rRect)
}
//----------------------------------------------------------------------------
FASTBOOL OUnoObject::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
bool OUnoObject::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
{
DBG_CHKTHIS( rpt_OUnoObject,NULL);
FASTBOOL bResult = SdrUnoObj::EndCreate(rStat, eCmd);
bool bResult = SdrUnoObj::EndCreate(rStat, eCmd);
if ( bResult )
{
impl_setReportComponent_nothrow();
......@@ -1089,10 +1089,10 @@ void OOle2Obj::NbcSetLogicRect(const Rectangle& rRect)
}
//----------------------------------------------------------------------------
FASTBOOL OOle2Obj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
bool OOle2Obj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
{
DBG_CHKTHIS( rpt_OOle2Obj,NULL);
FASTBOOL bResult = SdrOle2Obj::EndCreate(rStat, eCmd);
bool bResult = SdrOle2Obj::EndCreate(rStat, eCmd);
if ( bResult )
{
OReportModel* pRptModel = static_cast<OReportModel*>(GetModel());
......
......@@ -41,7 +41,7 @@ TYPEINIT1( OReportPage, SdrPage );
DBG_NAME( rpt_OReportPage )
OReportPage::OReportPage( OReportModel& _rModel
,const uno::Reference< report::XSection >& _xSection
,FASTBOOL bMasterPage )
,bool bMasterPage )
:SdrPage( _rModel, bMasterPage )
,rModel(_rModel)
,m_xSection(_xSection)
......
......@@ -1709,7 +1709,7 @@ void OViewsWindow::handleKey(const KeyCode& _rCode)
if ( rView.IsDragObj() )
{
const FASTBOOL bWasNoSnap = rDragStat.IsNoSnap();
const bool bWasNoSnap = rDragStat.IsNoSnap();
const BOOL bWasSnapEnabled = rView.IsSnapEnabled();
// switch snapping off
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment