diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /sfx2/source/sidebar/SidebarPanelBase.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'sfx2/source/sidebar/SidebarPanelBase.cxx')
-rw-r--r-- | sfx2/source/sidebar/SidebarPanelBase.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx index 37d2f6e4ce5f..5a0f3c4766f6 100644 --- a/sfx2/source/sidebar/SidebarPanelBase.cxx +++ b/sfx2/source/sidebar/SidebarPanelBase.cxx @@ -114,7 +114,7 @@ void SAL_CALL SidebarPanelBase::disposing (void) // XContextChangeEventListener void SAL_CALL SidebarPanelBase::notifyContextChangeEvent ( const ui::ContextChangeEventObject& rEvent) - throw (cssu::RuntimeException) + throw (cssu::RuntimeException, std::exception) { IContextChangeReceiver* pContextChangeReceiver = dynamic_cast<IContextChangeReceiver*>(mpControl); @@ -132,7 +132,7 @@ void SAL_CALL SidebarPanelBase::notifyContextChangeEvent ( void SAL_CALL SidebarPanelBase::disposing ( const css::lang::EventObject& rEvent) - throw (cssu::RuntimeException) + throw (cssu::RuntimeException, std::exception) { (void)rEvent; @@ -144,7 +144,7 @@ void SAL_CALL SidebarPanelBase::disposing ( cssu::Reference<css::frame::XFrame> SAL_CALL SidebarPanelBase::getFrame (void) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { return mxFrame; } @@ -153,7 +153,7 @@ cssu::Reference<css::frame::XFrame> SAL_CALL SidebarPanelBase::getFrame (void) ::rtl::OUString SAL_CALL SidebarPanelBase::getResourceURL (void) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { return msResourceURL; } @@ -162,7 +162,7 @@ cssu::Reference<css::frame::XFrame> SAL_CALL SidebarPanelBase::getFrame (void) sal_Int16 SAL_CALL SidebarPanelBase::getType (void) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { return ui::UIElementType::TOOLPANEL; } @@ -171,7 +171,7 @@ sal_Int16 SAL_CALL SidebarPanelBase::getType (void) Reference<XInterface> SAL_CALL SidebarPanelBase::getRealInterface (void) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { return Reference<XInterface>(static_cast<XWeak*>(this)); } @@ -181,7 +181,7 @@ Reference<XInterface> SAL_CALL SidebarPanelBase::getRealInterface (void) Reference<accessibility::XAccessible> SAL_CALL SidebarPanelBase::createAccessible ( const Reference<accessibility::XAccessible>& rxParentAccessible) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { (void)rxParentAccessible; @@ -193,7 +193,7 @@ Reference<accessibility::XAccessible> SAL_CALL SidebarPanelBase::createAccessibl Reference<awt::XWindow> SAL_CALL SidebarPanelBase::getWindow (void) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { if (mpControl != NULL) return Reference<awt::XWindow>( @@ -207,7 +207,7 @@ Reference<awt::XWindow> SAL_CALL SidebarPanelBase::getWindow (void) ui::LayoutSize SAL_CALL SidebarPanelBase::getHeightForWidth (const sal_Int32 nWidth) - throw(cssu::RuntimeException) + throw(cssu::RuntimeException, std::exception) { if (maLayoutSize.Minimum >= 0) return maLayoutSize; @@ -233,7 +233,7 @@ ui::LayoutSize SAL_CALL SidebarPanelBase::getHeightForWidth (const sal_Int32 nWi return ui::LayoutSize(0,0,0); } -sal_Int32 SAL_CALL SidebarPanelBase::getMinimalWidth () throw(cssu::RuntimeException) +sal_Int32 SAL_CALL SidebarPanelBase::getMinimalWidth () throw(cssu::RuntimeException, std::exception) { if (isLayoutEnabled(mpControl)) { |