From 4f5ef1750bb9dacbe4736247ca6dbe00053a328c Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 27 Oct 2017 08:07:42 +0200 Subject: [PATCH] sw: clean up temporary debug code in frmpaint Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833 Reviewed-on: https://gerrit.libreoffice.org/43927 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/source/core/text/frmpaint.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 14a65417d3e2..33ff0463fc16 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -405,11 +405,6 @@ void SwTextFrame::PaintExtraData( const SwRect &rRect ) const SwRect SwTextFrame::Paint() { -#if OSL_DEBUG_LEVEL > 1 - const SwTwips nDbgY = Frame().Top(); - (void)nDbgY; -#endif - // finger layout OSL_ENSURE( GetValidPosFlag(), "+SwTextFrame::Paint: no Calc()" ); @@ -588,11 +583,6 @@ void SwTextFrame::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, if( !IsEmpty() || !PaintEmpty( rRect, true ) ) { -#if OSL_DEBUG_LEVEL > 1 - const SwTwips nDbgY = Frame().Top(); - (void)nDbgY; -#endif - if( IsLocked() || IsHiddenNow() || ! Prt().HasArea() ) return;