summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unomtabl.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/unomtabl.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'svx/source/unodraw/unomtabl.cxx')
-rw-r--r--svx/source/unodraw/unomtabl.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 13541f214b38..054a18371e0d 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -71,25 +71,25 @@ public:
void SAL_CALL ImplInsertByName( const OUString& aName, const uno::Any& aElement );
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw( uno::RuntimeException );
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( uno::RuntimeException);
- virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName( ) throw( uno::RuntimeException, std::exception );
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( uno::RuntimeException, std::exception);
+ virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw( uno::RuntimeException, std::exception);
// XNameContainer
- virtual void SAL_CALL insertByName( const OUString& aName, const uno::Any& aElement ) throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException);
- virtual void SAL_CALL removeByName( const OUString& Name ) throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException);
+ virtual void SAL_CALL insertByName( const OUString& aName, const uno::Any& aElement ) throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeByName( const OUString& Name ) throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception);
// XNameReplace
- virtual void SAL_CALL replaceByName( const OUString& aName, const uno::Any& aElement ) throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException);
+ virtual void SAL_CALL replaceByName( const OUString& aName, const uno::Any& aElement ) throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception);
// XNameAccess
- virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException);
- virtual uno::Sequence< OUString > SAL_CALL getElementNames( ) throw( uno::RuntimeException);
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw( uno::RuntimeException);
+ virtual uno::Any SAL_CALL getByName( const OUString& aName ) throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception);
+ virtual uno::Sequence< OUString > SAL_CALL getElementNames( ) throw( uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw( uno::RuntimeException, std::exception);
// XElementAccess
- virtual uno::Type SAL_CALL getElementType( ) throw( uno::RuntimeException);
- virtual sal_Bool SAL_CALL hasElements( ) throw( uno::RuntimeException);
+ virtual uno::Type SAL_CALL getElementType( ) throw( uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasElements( ) throw( uno::RuntimeException, std::exception);
};
SvxUnoMarkerTable::SvxUnoMarkerTable( SdrModel* pModel ) throw()
@@ -129,18 +129,18 @@ void SvxUnoMarkerTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) throw()
dispose();
}
-sal_Bool SAL_CALL SvxUnoMarkerTable::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException)
+sal_Bool SAL_CALL SvxUnoMarkerTable::supportsService( const OUString& ServiceName ) throw(uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
-OUString SAL_CALL SvxUnoMarkerTable::getImplementationName() throw( uno::RuntimeException )
+OUString SAL_CALL SvxUnoMarkerTable::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString("SvxUnoMarkerTable");
}
uno::Sequence< OUString > SAL_CALL SvxUnoMarkerTable::getSupportedServiceNames( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aSNS( 1 );
aSNS.getArray()[0] = "com.sun.star.drawing.MarkerTable";
@@ -167,7 +167,7 @@ void SAL_CALL SvxUnoMarkerTable::ImplInsertByName( const OUString& aName, const
// XNameContainer
void SAL_CALL SvxUnoMarkerTable::insertByName( const OUString& aApiName, const uno::Any& aElement )
- throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -180,7 +180,7 @@ void SAL_CALL SvxUnoMarkerTable::insertByName( const OUString& aApiName, const u
}
void SAL_CALL SvxUnoMarkerTable::removeByName( const OUString& aApiName )
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException)
+ throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -218,7 +218,7 @@ void SAL_CALL SvxUnoMarkerTable::removeByName( const OUString& aApiName )
// XNameReplace
void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const uno::Any& aElement )
- throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -306,7 +306,7 @@ static bool getByNameFromPool( const OUString& rSearchName, SfxItemPool* pPool,
// XNameAccess
uno::Any SAL_CALL SvxUnoMarkerTable::getByName( const OUString& aApiName )
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException)
+ throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -349,7 +349,7 @@ static void createNamesForPool( SfxItemPool* pPool, sal_uInt16 nWhich, std::set<
}
uno::Sequence< OUString > SAL_CALL SvxUnoMarkerTable::getElementNames()
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -376,7 +376,7 @@ uno::Sequence< OUString > SAL_CALL SvxUnoMarkerTable::getElementNames()
}
sal_Bool SAL_CALL SvxUnoMarkerTable::hasByName( const OUString& aName )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
@@ -411,13 +411,13 @@ sal_Bool SAL_CALL SvxUnoMarkerTable::hasByName( const OUString& aName )
// XElementAccess
uno::Type SAL_CALL SvxUnoMarkerTable::getElementType( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return ::getCppuType((const drawing::PointSequence*)0);
}
sal_Bool SAL_CALL SvxUnoMarkerTable::hasElements( )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;