summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-13 18:20:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-14 08:09:52 +0200
commitd537a439fe0bec348d6cf0e14dadee773b38bcd4 (patch)
treeae656ac66ba9b58bebfdbe624188e95cdd82fdb4 /vcl
parent1a945712f6d5ce0cb31c6eff5892d6d33475976b (diff)
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."
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/textundo.cxx1
-rw-r--r--vcl/source/window/event.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index e28387bfc0e3..1ba423a45e50 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 ea819cdb3588..ec6a9b6e6153 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 )
{