summaryrefslogtreecommitdiff
path: root/svx/source/unogallery/unogaltheme.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/unogallery/unogaltheme.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svx/source/unogallery/unogaltheme.cxx')
-rw-r--r--svx/source/unogallery/unogaltheme.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx
index 24e441484fe3..56a00946e438 100644
--- a/svx/source/unogallery/unogaltheme.cxx
+++ b/svx/source/unogallery/unogaltheme.cxx
@@ -91,25 +91,25 @@ uno::Sequence< OUString > GalleryTheme::getSupportedServiceNames_Static()
}
OUString SAL_CALL GalleryTheme::getImplementationName()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
sal_Bool SAL_CALL GalleryTheme::supportsService( const OUString& ServiceName )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService( this, ServiceName );
}
uno::Sequence< OUString > SAL_CALL GalleryTheme::getSupportedServiceNames()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
uno::Sequence< uno::Type > SAL_CALL GalleryTheme::getTypes()
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
uno::Sequence< uno::Type > aTypes( 5 );
uno::Type* pTypes = aTypes.getArray();
@@ -129,7 +129,7 @@ namespace
}
uno::Sequence< sal_Int8 > SAL_CALL GalleryTheme::getImplementationId()
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
return theGalleryThemeImplementationId::get().getSeq();
}
@@ -137,7 +137,7 @@ uno::Sequence< sal_Int8 > SAL_CALL GalleryTheme::getImplementationId()
uno::Type SAL_CALL GalleryTheme::getElementType()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return ::getCppuType( (const uno::Reference< gallery::XGalleryItem >*) 0);
}
@@ -145,7 +145,7 @@ uno::Type SAL_CALL GalleryTheme::getElementType()
sal_Bool SAL_CALL GalleryTheme::hasElements()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -155,7 +155,7 @@ sal_Bool SAL_CALL GalleryTheme::hasElements()
sal_Int32 SAL_CALL GalleryTheme::getCount()
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -165,7 +165,7 @@ sal_Int32 SAL_CALL GalleryTheme::getCount()
uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex )
- throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException)
+ throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
uno::Any aRet;
@@ -191,7 +191,7 @@ uno::Any SAL_CALL GalleryTheme::getByIndex( ::sal_Int32 nIndex )
OUString SAL_CALL GalleryTheme::getName( )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
OUString aRet;
@@ -205,7 +205,7 @@ OUString SAL_CALL GalleryTheme::getName( )
void SAL_CALL GalleryTheme::update( )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
@@ -220,7 +220,7 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertURLByIndex(
const OUString& rURL, ::sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException)
+ throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -253,7 +253,7 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertGraphicByIndex(
const uno::Reference< graphic::XGraphic >& rxGraphic, sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException)
+ throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -281,7 +281,7 @@ void SAL_CALL GalleryTheme::update( )
::sal_Int32 SAL_CALL GalleryTheme::insertDrawingByIndex(
const uno::Reference< lang::XComponent >& Drawing, sal_Int32 nIndex )
- throw (lang::WrappedTargetException, uno::RuntimeException)
+ throw (lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;
sal_Int32 nRet = -1;
@@ -336,7 +336,7 @@ void SAL_CALL GalleryTheme::update( )
void SAL_CALL GalleryTheme::removeByIndex( sal_Int32 nIndex )
- throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+ throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
const SolarMutexGuard aGuard;