diff options
Diffstat (limited to 'desktop/source/lib/lokclipboard.hxx')
-rw-r--r-- | desktop/source/lib/lokclipboard.hxx | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/desktop/source/lib/lokclipboard.hxx b/desktop/source/lib/lokclipboard.hxx index 59b8cdf00ebf..d72da4066447 100644 --- a/desktop/source/lib/lokclipboard.hxx +++ b/desktop/source/lib/lokclipboard.hxx @@ -21,14 +21,12 @@ class LOKClipboard : public cppu::WeakImplHelper<css::datatransfer::clipboard::X css::uno::Reference<css::datatransfer::XTransferable> m_xTransferable; public: - virtual css::uno::Reference<css::datatransfer::XTransferable> SAL_CALL getContents() - throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference<css::datatransfer::XTransferable> SAL_CALL getContents() override; virtual void SAL_CALL setContents(const css::uno::Reference<css::datatransfer::XTransferable>& xTransferable, - const css::uno::Reference<css::datatransfer::clipboard::XClipboardOwner>& xClipboardOwner) - throw(css::uno::RuntimeException, std::exception) override; + const css::uno::Reference<css::datatransfer::clipboard::XClipboardOwner>& xClipboardOwner) override; - virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getName() override; }; /// Represents the contents of LOKClipboard. @@ -43,14 +41,11 @@ class LOKTransferable : public cppu::WeakImplHelper<css::datatransfer::XTransfer public: LOKTransferable(const char* pMimeType, const char* pData, std::size_t nSize); - virtual css::uno::Any SAL_CALL getTransferData(const css::datatransfer::DataFlavor& rFlavor) - throw(css::datatransfer::UnsupportedFlavorException, css::io::IOException, css::uno::RuntimeException, std::exception) override; + virtual css::uno::Any SAL_CALL getTransferData(const css::datatransfer::DataFlavor& rFlavor) override; - virtual css::uno::Sequence<css::datatransfer::DataFlavor> SAL_CALL getTransferDataFlavors() - throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence<css::datatransfer::DataFlavor> SAL_CALL getTransferDataFlavors() override; - virtual sal_Bool SAL_CALL isDataFlavorSupported(const css::datatransfer::DataFlavor& rFlavor) - throw(css::uno::RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL isDataFlavorSupported(const css::datatransfer::DataFlavor& rFlavor) override; }; #endif |