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

Stephan Bergmann sbergman at redhat.com
Mon Jul 13 23:10:20 PDT 2015


 basegfx/source/range/b2drangeclipper.cxx |    1 -
 vcl/source/edit/textundo.cxx             |    1 -
 vcl/source/window/event.cxx              |    1 -
 3 files changed, 3 deletions(-)

New commits:
commit d537a439fe0bec348d6cf0e14dadee773b38bcd4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 13 18:20:48 2015 +0200

    Revert "Avoid loplugin:staticmethods in non-debug build"
    
    This reverts commit 97df2dee8ea4f33f4efb7467cfeec2d8954c006c, obsoleted by
    cbce40e965acef51822b31d73da5fbc271fbcad0 "Make content of OSL_ASSERT,
    DBG_ASSERT, etc. visiblie in non-debug builds."

diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index e28387b..1ba423a 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -108,7 +108,6 @@ bool TextUndoManager::Redo()
 void TextUndoManager::UndoRedoStart()
 {
     DBG_ASSERT( GetView(), "Undo/Redo: Active View?" );
-    (void) this; // avoid loplugin:staticmethods
 }
 
 void TextUndoManager::UndoRedoEnd()
diff --git a/vcl/source/window/event.cxx b/vcl/source/window/event.cxx
index ea819cd..ec6a9b6 100644
--- a/vcl/source/window/event.cxx
+++ b/vcl/source/window/event.cxx
@@ -295,7 +295,6 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent )
                 "Window::RemoveUserEvent(): Event doesn't send to this window or is already removed" );
     DBG_ASSERT( nUserEvent->mbCall,
                 "Window::RemoveUserEvent(): Event is already removed" );
-    (void) this; // avoid loplugin:staticmethods
 
     if ( nUserEvent->mpWindow )
     {
commit 1a945712f6d5ce0cb31c6eff5892d6d33475976b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 13 18:19:48 2015 +0200

    Revert "Avoid loplugin:staticmethods in non-debug build"
    
    This reverts commit d0ba487bae3a0f6d1fcb9af13397c85e70ad8e1b, obsoleted by
    cbce40e965acef51822b31d73da5fbc271fbcad0 "Make content of OSL_ASSERT,
    DBG_ASSERT, etc. visiblie in non-debug builds."

diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 0f58395..d39c33c 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -370,7 +370,6 @@ 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