summaryrefslogtreecommitdiff
path: root/embeddedobj/source/commonembedding/specialobject.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 /embeddedobj/source/commonembedding/specialobject.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'embeddedobj/source/commonembedding/specialobject.cxx')
-rw-r--r--embeddedobj/source/commonembedding/specialobject.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx
index b94c5321f469..1342103c13bb 100644
--- a/embeddedobj/source/commonembedding/specialobject.cxx
+++ b/embeddedobj/source/commonembedding/specialobject.cxx
@@ -52,7 +52,7 @@ OSpecialEmbeddedObject::OSpecialEmbeddedObject( const uno::Reference< uno::XComp
uno::Any SAL_CALL OSpecialEmbeddedObject::queryInterface( const uno::Type& rType )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
uno::Any aReturn;
@@ -99,7 +99,7 @@ embed::VisualRepresentation SAL_CALL OSpecialEmbeddedObject::getPreferredVisualR
throw ( lang::IllegalArgumentException,
embed::WrongStateException,
uno::Exception,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bDisposed )
@@ -125,7 +125,7 @@ void SAL_CALL OSpecialEmbeddedObject::setVisualAreaSize( sal_Int64 nAspect, cons
throw ( lang::IllegalArgumentException,
embed::WrongStateException,
uno::Exception,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bDisposed )
@@ -144,7 +144,7 @@ awt::Size SAL_CALL OSpecialEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect
throw ( lang::IllegalArgumentException,
embed::WrongStateException,
uno::Exception,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bDisposed )
@@ -166,7 +166,7 @@ awt::Size SAL_CALL OSpecialEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect
sal_Int32 SAL_CALL OSpecialEmbeddedObject::getMapUnit( sal_Int64 nAspect )
throw ( uno::Exception,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bDisposed )
@@ -185,7 +185,7 @@ void SAL_CALL OSpecialEmbeddedObject::changeState( sal_Int32 nNewState )
throw ( ::com::sun::star::embed::UnreachableStateException,
::com::sun::star::embed::WrongStateException,
::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException )
+ ::com::sun::star::uno::RuntimeException, std::exception )
{
if ( nNewState == embed::EmbedStates::UI_ACTIVE )
nNewState = embed::EmbedStates::INPLACE_ACTIVE;
@@ -197,7 +197,7 @@ void SAL_CALL OSpecialEmbeddedObject::doVerb( sal_Int32 nVerbID )
embed::WrongStateException,
embed::UnreachableStateException,
uno::Exception,
- uno::RuntimeException )
+ uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
if ( m_bDisposed )