summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/pagechg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-27 09:46:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-27 10:16:35 +0100
commita653bda02b2aac650eef8d6fbca28b3280f7ed0a (patch)
tree430c46f11d9c17ede3d46e4608ab8076234443b0 /sw/source/core/layout/pagechg.cxx
parent653a4b313c685fbf7c8e13a044aa6765b4fd45a2 (diff)
fix highest debugging level build
Change-Id: I1f40bba348a3c0be7a892b56a9bf1b7da0b4435f
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-rw-r--r--sw/source/core/layout/pagechg.cxx16
1 files changed, 0 insertions, 16 deletions
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()