summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unottabl.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 /svx/source/unodraw/unottabl.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svx/source/unodraw/unottabl.cxx')
-rw-r--r--svx/source/unodraw/unottabl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index f2d8e5d2e101..18538e84de22 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -42,11 +42,11 @@ public:
virtual NameOrIndex* createItem() const throw();
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw( uno::RuntimeException );
- virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName( ) throw( uno::RuntimeException, std::exception );
+ virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( uno::RuntimeException, std::exception);
// XElementAccess
- virtual uno::Type SAL_CALL getElementType( ) throw( uno::RuntimeException);
+ virtual uno::Type SAL_CALL getElementType( ) throw( uno::RuntimeException, std::exception);
};
SvxUnoTransGradientTable::SvxUnoTransGradientTable( SdrModel* pModel ) throw()
@@ -58,13 +58,13 @@ SvxUnoTransGradientTable::~SvxUnoTransGradientTable() throw()
{
}
-OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName() throw( uno::RuntimeException )
+OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoTransGradientTable");
}
uno::Sequence< OUString > SAL_CALL SvxUnoTransGradientTable::getSupportedServiceNames( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aSNS( 1 );
aSNS.getArray()[0] = "com.sun.star.drawing.TransparencyGradientTable";
@@ -80,7 +80,7 @@ NameOrIndex* SvxUnoTransGradientTable::createItem() const throw()
// XElementAccess
uno::Type SAL_CALL SvxUnoTransGradientTable::getElementType( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return ::getCppuType((const struct awt::Gradient*)0);
}