Kaydet (Commit) a653bda0 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix highest debugging level build

Change-Id: I1f40bba348a3c0be7a892b56a9bf1b7da0b4435f
üst 653a4b31
......@@ -29,14 +29,9 @@ class SwBodyFrm: public SwLayoutFrm
protected:
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
#if defined ( __GNUC__ ) && defined ( C272 )
~SwBodyFrm();
#endif
public:
SwBodyFrm( SwFrmFmt*, SwFrm* );
virtual void Paint( const SwRect&, const SwPrintData *pPrintData = NULL ) const;
virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect& ) const;
DECL_FIXEDMEMPOOL_NEWDEL(SwBodyFrm)
......
......@@ -177,22 +177,6 @@ void SwBodyFrm::Format( const SwBorderAttrs * )
mbValidSize = mbValidPrtArea = sal_True;
}
void SwBodyFrm::Paint( const SwRect& rRect, const SwPrintData* ) const
{
#if OSL_DEBUG_LEVEL > 1
// Paint a red border around the SwBodyFrm in debug mode
ViewShell *pSh = GetShell();
OutputDevice* pOut = pSh->GetOut();
pOut->Push();
pOut->SetLineColor(Color(255, 0, 0));
pOut->SetFillColor(COL_TRANSPARENT);
SwRect aRect = Frm();
pOut->DrawRect(aRect.SVRect());
pOut->Pop();
#endif
SwLayoutFrm::Paint(rRect);
}
/*************************************************************************
|*
|* SwPageFrm::SwPageFrm(), ~SwPageFrm()
......
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