sw/source/core/layout/virtoutp.cxx | 26 -------------------------- 1 file changed, 26 deletions(-)
New commits: commit 41bbe4c53bc58f6156601b4e358b1546779277c0 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Thu Oct 6 08:48:20 2016 +0200 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 <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx index f10e1b4..690a166 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. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits