[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Oct 27 07:08:53 UTC 2017


 sw/source/core/text/frmpaint.cxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 4f5ef1750bb9dacbe4736247ca6dbe00053a328c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Oct 27 08:07:42 2017 +0200

    sw: clean up temporary debug code in frmpaint
    
    Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833
    Reviewed-on: https://gerrit.libreoffice.org/43927
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

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;
 


More information about the Libreoffice-commits mailing list