summaryrefslogtreecommitdiff
path: root/framework/source/fwe/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:32:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:32:00 +0200
commit54445375ec54696a35f28c7e1bd3efe1c35e1fbe (patch)
treed6da7accd43a20be4742f5e87d691fb4592198f2 /framework/source/fwe/helper
parent207d625a9d0ae61d82ee2a72aeb998aff61bff15 (diff)
loplugin:casttovoid: framework
Change-Id: I9e111f06520019ac87fbb55a9ca813fb97e6ed3a
Diffstat (limited to 'framework/source/fwe/helper')
-rw-r--r--framework/source/fwe/helper/documentundoguard.cxx36
1 files changed, 12 insertions, 24 deletions
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index b51b3e283f58..956c7111f4fb 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -98,75 +98,63 @@ namespace framework
bool m_documentDisposed;
};
- void SAL_CALL UndoManagerContextListener::undoActionAdded( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::undoActionAdded( const UndoManagerEvent& )
{
- (void)i_event;
// not interested in
}
- void SAL_CALL UndoManagerContextListener::actionUndone( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::actionUndone( const UndoManagerEvent& )
{
- (void)i_event;
// not interested in
}
- void SAL_CALL UndoManagerContextListener::actionRedone( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::actionRedone( const UndoManagerEvent& )
{
- (void)i_event;
// not interested in
}
- void SAL_CALL UndoManagerContextListener::allActionsCleared( const EventObject& i_event )
+ void SAL_CALL UndoManagerContextListener::allActionsCleared( const EventObject& )
{
- (void)i_event;
// not interested in
}
- void SAL_CALL UndoManagerContextListener::redoActionsCleared( const EventObject& i_event )
+ void SAL_CALL UndoManagerContextListener::redoActionsCleared( const EventObject& )
{
- (void)i_event;
// not interested in
}
- void SAL_CALL UndoManagerContextListener::resetAll( const EventObject& i_event )
+ void SAL_CALL UndoManagerContextListener::resetAll( const EventObject& )
{
- (void)i_event;
m_nRelativeContextDepth = 0;
}
- void SAL_CALL UndoManagerContextListener::enteredContext( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::enteredContext( const UndoManagerEvent& )
{
- (void)i_event;
osl_atomic_increment( &m_nRelativeContextDepth );
}
- void SAL_CALL UndoManagerContextListener::enteredHiddenContext( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::enteredHiddenContext( const UndoManagerEvent& )
{
- (void)i_event;
osl_atomic_increment( &m_nRelativeContextDepth );
}
- void SAL_CALL UndoManagerContextListener::leftContext( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::leftContext( const UndoManagerEvent& )
{
- (void)i_event;
osl_atomic_decrement( &m_nRelativeContextDepth );
}
- void SAL_CALL UndoManagerContextListener::leftHiddenContext( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::leftHiddenContext( const UndoManagerEvent& )
{
- (void)i_event;
osl_atomic_decrement( &m_nRelativeContextDepth );
}
- void SAL_CALL UndoManagerContextListener::cancelledContext( const UndoManagerEvent& i_event )
+ void SAL_CALL UndoManagerContextListener::cancelledContext( const UndoManagerEvent& )
{
- (void)i_event;
osl_atomic_decrement( &m_nRelativeContextDepth );
}
- void SAL_CALL UndoManagerContextListener::disposing( const EventObject& i_event )
+ void SAL_CALL UndoManagerContextListener::disposing( const EventObject& )
{
- (void)i_event;
m_documentDisposed = true;
}