summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/weak.cxx
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 /comphelper/source/misc/weak.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'comphelper/source/misc/weak.cxx')
-rw-r--r--comphelper/source/misc/weak.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/misc/weak.cxx b/comphelper/source/misc/weak.cxx
index f3117e6566f9..a6b8f4310ba2 100644
--- a/comphelper/source/misc/weak.cxx
+++ b/comphelper/source/misc/weak.cxx
@@ -34,7 +34,7 @@ OWeakTypeObject::~OWeakTypeObject()
{
}
-Any SAL_CALL OWeakTypeObject::queryInterface(const Type & rType ) throw (RuntimeException)
+Any SAL_CALL OWeakTypeObject::queryInterface(const Type & rType ) throw (RuntimeException, std::exception)
{
if( rType == cppu::UnoType<XTypeProvider>::get() )
return Any( Reference< XTypeProvider >(this) );
@@ -52,12 +52,12 @@ void SAL_CALL OWeakTypeObject::release() throw ()
::cppu::OWeakObject::release();
}
-Sequence< Type > SAL_CALL OWeakTypeObject::getTypes( ) throw (RuntimeException)
+Sequence< Type > SAL_CALL OWeakTypeObject::getTypes( ) throw (RuntimeException, std::exception)
{
return Sequence< Type >();
}
-Sequence< ::sal_Int8 > SAL_CALL OWeakTypeObject::getImplementationId( ) throw (RuntimeException)
+Sequence< ::sal_Int8 > SAL_CALL OWeakTypeObject::getImplementationId( ) throw (RuntimeException, std::exception)
{
return Sequence< ::sal_Int8 >();
}