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

Stephan Bergmann sbergman at redhat.com
Wed Jul 8 12:04:54 PDT 2015


 basegfx/source/range/b2drangeclipper.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d0ba487bae3a0f6d1fcb9af13397c85e70ad8e1b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jul 8 21:04:24 2015 +0200

    Avoid loplugin:staticmethods in non-debug build
    
    Change-Id: Ie943f6a998f142014c0405892264c8257dccaf6f

diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 1b49294..e9a3e5e 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -370,6 +370,7 @@ namespace basegfx
                 OSL_ENSURE( isSweepLineEnteringRect ||
                             mpLeadingRightEdge == &rActiveEdge,
                             "ImplPolygon::intersect(): sweep initial own edge hit: wrong leading edge" );
+                (void) this; // avoid loplugin:staticmethods
             }
 
             void handleFinalOwnRightEdge(ActiveEdge& rActiveEdge)


More information about the Libreoffice-commits mailing list