diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:28:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:28:03 +0200 |
commit | 18d7548714022cd5f9486ca629561ab106b5992f (patch) | |
tree | ce3ac16d8a53fe518e27df04b044ccbc294957c2 /unotools | |
parent | 8dc6bcc82c20361301b1c3c12301d4d987ecdbf3 (diff) |
loplugin:casttovoid: unotools
Change-Id: I957f58894dfd8bd495df386bd443b190e163727e
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/misc/closeveto.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx index 81a752fa5b9b..ed668fc12848 100644 --- a/unotools/source/misc/closeveto.cxx +++ b/unotools/source/misc/closeveto.cxx @@ -69,25 +69,17 @@ namespace utl bool m_bHasOwnership; }; - void SAL_CALL CloseListener_Impl::queryClosing( const EventObject& i_source, sal_Bool i_deliverOwnership ) + void SAL_CALL CloseListener_Impl::queryClosing( const EventObject&, sal_Bool i_deliverOwnership ) { - (void)i_source; - if ( !m_bHasOwnership ) m_bHasOwnership = i_deliverOwnership; throw CloseVetoException(); } - void SAL_CALL CloseListener_Impl::notifyClosing( const EventObject& i_source ) - { - (void)i_source; - } + void SAL_CALL CloseListener_Impl::notifyClosing( const EventObject& ) {} - void SAL_CALL CloseListener_Impl::disposing( const EventObject& i_source ) - { - (void)i_source; - } + void SAL_CALL CloseListener_Impl::disposing( const EventObject& ) {} //= CloseVeto_Data |