summaryrefslogtreecommitdiff
path: root/include/comphelper/unique_disposing_ptr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/unique_disposing_ptr.hxx')
-rw-r--r--include/comphelper/unique_disposing_ptr.hxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx
index c986b12e316f..1c4a8dce9fb3 100644
--- a/include/comphelper/unique_disposing_ptr.hxx
+++ b/include/comphelper/unique_disposing_ptr.hxx
@@ -104,8 +104,7 @@ private:
}
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& rEvt )
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL disposing( const css::lang::EventObject& rEvt ) override
{
bool shutDown = (rEvt.Source == m_xComponent);
@@ -124,20 +123,16 @@ private:
}
// XTerminateListener
- virtual void SAL_CALL queryTermination( const css::lang::EventObject& )
- throw(css::frame::TerminationVetoException,
- css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL queryTermination( const css::lang::EventObject& ) override
{
}
- virtual void SAL_CALL notifyTermination( const css::lang::EventObject& rEvt )
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL notifyTermination( const css::lang::EventObject& rEvt ) override
{
disposing(rEvt);
}
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getImplementationName() override
{
if (mbComponentDLL)
return OUString("com.sun.star.comp.ComponentDLLListener");
@@ -145,14 +140,12 @@ private:
return OUString("com.sun.star.comp.DisposingTerminateListener");
}
- virtual sal_Bool SAL_CALL supportsService(const OUString& /*rName*/)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL supportsService(const OUString& /*rName*/) override
{
return false;
}
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
return css::uno::Sequence<OUString>();
}