summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-06 08:48:20 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-06 07:31:03 +0000
commit41bbe4c53bc58f6156601b4e358b1546779277c0 (patch)
treee08f370753b2f40fbfd2a2f9cd35a06422545168 /sw/source/core
parenta9f820679a70ec3fc4fe4f43c8fed175b362d1fd (diff)
sw: remove unused DbgRect
Seems the last user was removed in commit 2513329487f2b39740f3fa16eb1b07d9b191c699 (2004/06/23 12:50:40 cmc 1.7.568.1: #i30554# remove unused code inside #ifdef USED guards). Change-Id: If49b4d34786b091f06df7064c5b0fd649310365d Reviewed-on: https://gerrit.libreoffice.org/29550 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/layout/virtoutp.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx
index f10e1b4527b3..690a166f70f0 100644
--- a/sw/source/core/layout/virtoutp.cxx
+++ b/sw/source/core/layout/virtoutp.cxx
@@ -21,32 +21,6 @@
#include "viewopt.hxx"
#include "rootfrm.hxx"
-#if OSL_DEBUG_LEVEL > 1
-
-class DbgRect
-{
- OutputDevice *pOut;
-public:
- DbgRect( OutputDevice *pOut, const Rectangle &rRect,
- const ColorData eColor = COL_LIGHTBLUE );
-};
-
-inline DbgRect::DbgRect( OutputDevice *pOutDev, const Rectangle &rRect,
- const ColorData eColor )
- :pOut( pOutDev )
-{
- if( pOut )
- {
- pOut->Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR );
- pOut->SetLineColor( eColor );
- pOut->SetFillColor();
- pOut->DrawRect( rRect );
- pOut->Pop();
- }
-}
-
-#endif
-
/* The SWLayVout class manages the virtual output devices.
* RootFrame has a static member of this class which is created in FrameInit
* and destroyed in FrameFinit.