diff options
Diffstat (limited to 'vcl/unx/generic/dtrans/X11_selection.hxx')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_selection.hxx | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx index 24de1bc580a6..ef1449e8daf6 100644 --- a/vcl/unx/generic/dtrans/X11_selection.hxx +++ b/vcl/unx/generic/dtrans/X11_selection.hxx @@ -90,21 +90,21 @@ namespace x11 { void drop( const css::datatransfer::dnd::DropTargetDropEvent& dtde ) throw(); // XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& args ) throw ( css::uno::Exception, std::exception ) override; + virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& args ) override; // XDropTarget - virtual void SAL_CALL addDropTargetListener( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& ) throw(std::exception) override; - virtual void SAL_CALL removeDropTargetListener( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& ) throw(std::exception) override; - virtual sal_Bool SAL_CALL isActive() throw(std::exception) override; - virtual void SAL_CALL setActive( sal_Bool active ) throw(std::exception) override; - virtual sal_Int8 SAL_CALL getDefaultActions() throw(std::exception) override; - virtual void SAL_CALL setDefaultActions( sal_Int8 actions ) throw(std::exception) override; + virtual void SAL_CALL addDropTargetListener( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& ) override; + virtual void SAL_CALL removeDropTargetListener( const css::uno::Reference< css::datatransfer::dnd::XDropTargetListener >& ) override; + virtual sal_Bool SAL_CALL isActive() override; + virtual void SAL_CALL setActive( sal_Bool active ) override; + virtual sal_Int8 SAL_CALL getDefaultActions() override; + virtual void SAL_CALL setDefaultActions( sal_Int8 actions ) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > - SAL_CALL getSupportedServiceNames() throw(std::exception) override; + SAL_CALL getSupportedServiceNames() override; }; class SelectionManagerHolder : @@ -122,23 +122,23 @@ namespace x11 { virtual ~SelectionManagerHolder() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > - SAL_CALL getSupportedServiceNames() throw(std::exception) override; + SAL_CALL getSupportedServiceNames() override; // XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& arguments ) throw( css::uno::Exception, std::exception ) override; + virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& arguments ) override; // XDragSource - virtual sal_Bool SAL_CALL isDragImageSupported() throw(std::exception) override; - virtual sal_Int32 SAL_CALL getDefaultCursor( sal_Int8 dragAction ) throw(std::exception) override; + virtual sal_Bool SAL_CALL isDragImageSupported() override; + virtual sal_Int32 SAL_CALL getDefaultCursor( sal_Int8 dragAction ) override; virtual void SAL_CALL startDrag( const css::datatransfer::dnd::DragGestureEvent& trigger, sal_Int8 sourceActions, sal_Int32 cursor, sal_Int32 image, const css::uno::Reference< css::datatransfer::XTransferable >& transferable, const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener >& listener - ) throw(std::exception) override; + ) override; }; @@ -464,21 +464,20 @@ namespace x11 { void shutdown() throw(); // XInitialization - virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& arguments ) throw( css::uno::Exception, std::exception ) override; + virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& arguments ) override; // XEventHandler - virtual sal_Bool SAL_CALL handleEvent(const css::uno::Any& event) - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL handleEvent(const css::uno::Any& event) override; // XDragSource - virtual sal_Bool SAL_CALL isDragImageSupported() throw(std::exception) override; - virtual sal_Int32 SAL_CALL getDefaultCursor( sal_Int8 dragAction ) throw(std::exception) override; + virtual sal_Bool SAL_CALL isDragImageSupported() override; + virtual sal_Int32 SAL_CALL getDefaultCursor( sal_Int8 dragAction ) override; virtual void SAL_CALL startDrag( const css::datatransfer::dnd::DragGestureEvent& trigger, sal_Int8 sourceActions, sal_Int32 cursor, sal_Int32 image, const css::uno::Reference< css::datatransfer::XTransferable >& transferable, const css::uno::Reference< css::datatransfer::dnd::XDragSourceListener >& listener - ) throw(std::exception) override; + ) override; // SelectionAdaptor for XdndSelection Drag (we are drag source) virtual css::uno::Reference< css::datatransfer::XTransferable > getTransferable() throw() override; @@ -487,13 +486,11 @@ namespace x11 { virtual css::uno::Reference< css::uno::XInterface > getReference() throw() override; // XEventListener - virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; // XTerminateListener - virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent ) - throw( css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception ) override; - virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL queryTermination( const css::lang::EventObject& aEvent ) override; + virtual void SAL_CALL notifyTermination( const css::lang::EventObject& aEvent ) override; }; css::uno::Sequence< OUString > SAL_CALL Xdnd_getSupportedServiceNames(); |