diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:54:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:23 +0000 |
commit | 6fbe00f9b6ae8211bc6f2a0e78120548d7b38432 (patch) | |
tree | 96fdf9388669463d8fec3d01c3a9545729c2a3ac /comphelper | |
parent | 5da1ef56f7b88e360010c981ab12a60720ac46e5 (diff) |
coverity#983702 Uncaught exception
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/containermultiplexer.cxx | 12 | ||||
-rw-r--r-- | comphelper/source/misc/SelectionMultiplex.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/property/propmultiplex.cxx | 3 |
3 files changed, 12 insertions, 6 deletions
diff --git a/comphelper/source/container/containermultiplexer.cxx b/comphelper/source/container/containermultiplexer.cxx index d74b62fff802..d8c416242d33 100644 --- a/comphelper/source/container/containermultiplexer.cxx +++ b/comphelper/source/container/containermultiplexer.cxx @@ -50,22 +50,26 @@ namespace comphelper } - void OContainerListener::_elementInserted( const ContainerEvent& /*_rEvent*/ ) throw(RuntimeException) + void OContainerListener::_elementInserted( const ContainerEvent& /*_rEvent*/ ) + throw (RuntimeException, std::exception) { } - void OContainerListener::_elementRemoved( const ContainerEvent& ) throw(RuntimeException) + void OContainerListener::_elementRemoved( const ContainerEvent& ) + throw (RuntimeException, std::exception) { } - void OContainerListener::_elementReplaced( const ContainerEvent& /*_rEvent*/ ) throw(RuntimeException) + void OContainerListener::_elementReplaced( const ContainerEvent& /*_rEvent*/ ) + throw (RuntimeException, std::exception) { } - void OContainerListener::_disposing(const EventObject& ) throw( RuntimeException) + void OContainerListener::_disposing(const EventObject& ) + throw (RuntimeException, std::exception) { } diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx index de24434b0a47..335cbf97d42a 100644 --- a/comphelper/source/misc/SelectionMultiplex.cxx +++ b/comphelper/source/misc/SelectionMultiplex.cxx @@ -41,7 +41,8 @@ OSelectionChangeListener::~OSelectionChangeListener() } -void OSelectionChangeListener::_disposing(const EventObject&) throw( RuntimeException) +void OSelectionChangeListener::_disposing(const EventObject&) + throw (RuntimeException, std::exception) { // nothing to do here } diff --git a/comphelper/source/property/propmultiplex.cxx b/comphelper/source/property/propmultiplex.cxx index f04a4cc88097..dbeee362caa8 100644 --- a/comphelper/source/property/propmultiplex.cxx +++ b/comphelper/source/property/propmultiplex.cxx @@ -40,7 +40,8 @@ OPropertyChangeListener::~OPropertyChangeListener() } -void OPropertyChangeListener::_disposing(const EventObject&) throw( RuntimeException) +void OPropertyChangeListener::_disposing(const EventObject&) + throw (RuntimeException, std::exception) { // nothing to do here } |