diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-27 09:46:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-27 10:16:35 +0100 |
commit | a653bda02b2aac650eef8d6fbca28b3280f7ed0a (patch) | |
tree | 430c46f11d9c17ede3d46e4608ab8076234443b0 /sw | |
parent | 653a4b313c685fbf7c8e13a044aa6765b4fd45a2 (diff) |
fix highest debugging level build
Change-Id: I1f40bba348a3c0be7a892b56a9bf1b7da0b4435f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/bodyfrm.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/sw/source/core/inc/bodyfrm.hxx b/sw/source/core/inc/bodyfrm.hxx index 52613a79913e..e73b70198c48 100644 --- a/sw/source/core/inc/bodyfrm.hxx +++ b/sw/source/core/inc/bodyfrm.hxx @@ -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) diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 304bbcbece10..a231fd1496b9 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -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() |