diff options
Diffstat (limited to 'sd/source/ui/inc/framework/ViewShellWrapper.hxx')
-rw-r--r-- | sd/source/ui/inc/framework/ViewShellWrapper.hxx | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/sd/source/ui/inc/framework/ViewShellWrapper.hxx b/sd/source/ui/inc/framework/ViewShellWrapper.hxx index 061d185c4dca..6105da021f71 100644 --- a/sd/source/ui/inc/framework/ViewShellWrapper.hxx +++ b/sd/source/ui/inc/framework/ViewShellWrapper.hxx @@ -70,7 +70,7 @@ public: virtual ~ViewShellWrapper() override; virtual void SAL_CALL disposing() override; - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; static const css::uno::Sequence<sal_Int8>& getUnoTunnelId(); @@ -82,57 +82,46 @@ public: // XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence<sal_Int8>& rId) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence<sal_Int8>& rId) override; // XResource virtual css::uno::Reference<css::drawing::framework::XResourceId> - SAL_CALL getResourceId() - throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getResourceId() override; - virtual sal_Bool SAL_CALL isAnchorOnly() - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL isAnchorOnly() override; // XSelectionSupplier - virtual sal_Bool SAL_CALL select( const css::uno::Any& aSelection ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - virtual css::uno::Any SAL_CALL getSelection() - throw (css::uno::RuntimeException, - std::exception) override; - virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw(css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL select( const css::uno::Any& aSelection ) override; + virtual css::uno::Any SAL_CALL getSelection() override; + virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override; + virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override; // XRelocatableResource virtual sal_Bool SAL_CALL relocateToAnchor ( const css::uno::Reference< - css::drawing::framework::XResource>& xResource) - throw (css::uno::RuntimeException, std::exception) override; + css::drawing::framework::XResource>& xResource) override; // XWindowListener virtual void SAL_CALL windowResized( - const css::awt::WindowEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + const css::awt::WindowEvent& rEvent) override; virtual void SAL_CALL windowMoved( - const css::awt::WindowEvent& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + const css::awt::WindowEvent& rEvent) override; virtual void SAL_CALL windowShown( - const css::lang::EventObject& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + const css::lang::EventObject& rEvent) override; virtual void SAL_CALL windowHidden( - const css::lang::EventObject& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + const css::lang::EventObject& rEvent) override; // XEventListener virtual void SAL_CALL disposing( - const css::lang::EventObject& rEvent) - throw (css::uno::RuntimeException, std::exception) override; + const css::lang::EventObject& rEvent) override; private: ::std::shared_ptr< ViewShell > mpViewShell; |