summaryrefslogtreecommitdiff
path: root/include/svtools/javacontext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/javacontext.hxx')
-rw-r--r--include/svtools/javacontext.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/javacontext.hxx b/include/svtools/javacontext.hxx
index 9c287092ac26..9cd45830b0dd 100644
--- a/include/svtools/javacontext.hxx
+++ b/include/svtools/javacontext.hxx
@@ -52,7 +52,7 @@ namespace svt
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL acquire() throw ();
@@ -60,7 +60,7 @@ namespace svt
// XCurrentContext
virtual com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name )
- throw (com::sun::star::uno::RuntimeException);
+ throw (com::sun::star::uno::RuntimeException, std::exception);
private:
SVT_DLLPRIVATE JavaContext(); //not implemented