Kaydet (Commit) d537a439 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "Avoid loplugin:staticmethods in non-debug build"

This reverts commit 97df2dee, obsoleted by
cbce40e9 "Make content of OSL_ASSERT,
DBG_ASSERT, etc. visiblie in non-debug builds."
üst 1a945712
...@@ -108,7 +108,6 @@ bool TextUndoManager::Redo() ...@@ -108,7 +108,6 @@ bool TextUndoManager::Redo()
void TextUndoManager::UndoRedoStart() void TextUndoManager::UndoRedoStart()
{ {
DBG_ASSERT( GetView(), "Undo/Redo: Active View?" ); DBG_ASSERT( GetView(), "Undo/Redo: Active View?" );
(void) this; // avoid loplugin:staticmethods
} }
void TextUndoManager::UndoRedoEnd() void TextUndoManager::UndoRedoEnd()
......
...@@ -295,7 +295,6 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent ) ...@@ -295,7 +295,6 @@ void Window::RemoveUserEvent( ImplSVEvent * nUserEvent )
"Window::RemoveUserEvent(): Event doesn't send to this window or is already removed" ); "Window::RemoveUserEvent(): Event doesn't send to this window or is already removed" );
DBG_ASSERT( nUserEvent->mbCall, DBG_ASSERT( nUserEvent->mbCall,
"Window::RemoveUserEvent(): Event is already removed" ); "Window::RemoveUserEvent(): Event is already removed" );
(void) this; // avoid loplugin:staticmethods
if ( nUserEvent->mpWindow ) if ( nUserEvent->mpWindow )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment