diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:32:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:32:29 +0200 |
commit | badc759a8a97965bbc77aea6fb417c94a3e088a1 (patch) | |
tree | 63789b572e089772b0285e32e646a472321a4bfa /extensions/source/bibliography | |
parent | ef7d2da6aaa2efe6dff221803a1f83b626e68529 (diff) |
loplugin:casttovoid: extensions
Change-Id: I5922341e0bb74da854307e6cb0a004395f3e8851
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r-- | extensions/source/bibliography/bibview.cxx | 7 | ||||
-rw-r--r-- | extensions/source/bibliography/formcontrolcontainer.cxx | 3 | ||||
-rw-r--r-- | extensions/source/bibliography/general.cxx | 3 |
3 files changed, 4 insertions, 9 deletions
diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx index ae993379c67f..04f4f5e2698f 100644 --- a/extensions/source/bibliography/bibview.cxx +++ b/extensions/source/bibliography/bibview.cxx @@ -90,10 +90,7 @@ namespace bib else xResUpd->updateRow(); } - catch( const uno::Exception& rEx) - { - (void) rEx; - } + catch( const uno::Exception&) {} } } @@ -217,4 +214,4 @@ namespace bib } // namespace bib -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx index d0d7576af413..8019a772bdb0 100644 --- a/extensions/source/bibliography/formcontrolcontainer.cxx +++ b/extensions/source/bibliography/formcontrolcontainer.cxx @@ -98,9 +98,8 @@ namespace bib ControlModeSwitch( _bDesign ) ); } - catch( const Exception& e) + catch( const Exception&) { - (void) e; // make compiler happy OSL_FAIL( "FormControlContainer::implSetDesignMode: caught an exception!" ); } } diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx index 9eccfef67a0d..8c14735756b2 100644 --- a/extensions/source/bibliography/general.cxx +++ b/extensions/source/bibliography/general.cxx @@ -517,9 +517,8 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl( } } } - catch(const Exception& rEx) + catch(const Exception&) { - (void) rEx; // make compiler happy OSL_FAIL("BibGeneralPage::AddXControl: something went wrong!"); } return xCtrModel; |