summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /ucb/source/ucp/tdoc/tdoc_docmgr.hxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_docmgr.hxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index 8edd62a671d5..33c1334fd7fc 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -97,16 +97,16 @@ namespace tdoc_ucp {
const ::com::sun::star::lang::EventObject& Source,
::sal_Bool GetsOwnership )
throw (::com::sun::star::util::CloseVetoException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL notifyClosing(
const ::com::sun::star::lang::EventObject& Source )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// lang::XEventListener (base of util::XCloseListener)
virtual void SAL_CALL disposing(
const com::sun::star::lang::EventObject & Source )
- throw ( com::sun::star::uno::RuntimeException );
+ throw ( com::sun::star::uno::RuntimeException, std::exception );
private:
OfficeDocumentsManager * m_pManager;
};
@@ -123,12 +123,12 @@ namespace tdoc_ucp {
// document::XEventListener
virtual void SAL_CALL notifyEvent(
const com::sun::star::document::EventObject & Event )
- throw ( com::sun::star::uno::RuntimeException );
+ throw ( com::sun::star::uno::RuntimeException, std::exception );
// lang::XEventListener (base of document::XEventListener)
virtual void SAL_CALL disposing(
const com::sun::star::lang::EventObject & Source )
- throw ( com::sun::star::uno::RuntimeException );
+ throw ( com::sun::star::uno::RuntimeException, std::exception );
// Non-interface
com::sun::star::uno::Reference< com::sun::star::embed::XStorage >