diff options
Diffstat (limited to 'svx/source/table/tabledesign.cxx')
-rw-r--r-- | svx/source/table/tabledesign.cxx | 192 |
1 files changed, 96 insertions, 96 deletions
diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index ea4aa3358105..49b44de1b05b 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -72,43 +72,43 @@ public: TableDesignStyle(); // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XStyle - virtual sal_Bool SAL_CALL isUserDefined() throw (RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL isInUse() throw (RuntimeException, std::exception) override; - virtual OUString SAL_CALL getParentStyle() throw (RuntimeException, std::exception) override; - virtual void SAL_CALL setParentStyle( const OUString& aParentStyle ) throw (NoSuchElementException, RuntimeException, std::exception) override; + virtual sal_Bool SAL_CALL isUserDefined() override; + virtual sal_Bool SAL_CALL isInUse() override; + virtual OUString SAL_CALL getParentStyle() override; + virtual void SAL_CALL setParentStyle( const OUString& aParentStyle ) override; // XNamed - virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception) override; - virtual void SAL_CALL setName( const OUString& aName ) throw (RuntimeException, std::exception) override; + virtual OUString SAL_CALL getName() override; + virtual void SAL_CALL setName( const OUString& aName ) override; // XNameAccess - virtual Any SAL_CALL getByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; - virtual Sequence< OUString > SAL_CALL getElementNames() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(RuntimeException, std::exception) override; + virtual Any SAL_CALL getByName( const OUString& aName ) override; + virtual Sequence< OUString > SAL_CALL getElementNames() override; + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override; // XElementAccess - virtual css::uno::Type SAL_CALL getElementType() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasElements() throw(RuntimeException, std::exception) override; + virtual css::uno::Type SAL_CALL getElementType() override; + virtual sal_Bool SAL_CALL hasElements() override; // XIndexAccess - virtual sal_Int32 SAL_CALL getCount() throw(RuntimeException, std::exception) override ; - virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getCount() override ; + virtual Any SAL_CALL getByIndex( sal_Int32 Index ) override; // XNameReplace - virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; + virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) override; // XModifyBroadcaster - virtual void SAL_CALL addModifyListener( const Reference< XModifyListener >& aListener ) throw (RuntimeException, std::exception) override; - virtual void SAL_CALL removeModifyListener( const Reference< XModifyListener >& aListener ) throw (RuntimeException, std::exception) override; + virtual void SAL_CALL addModifyListener( const Reference< XModifyListener >& aListener ) override; + virtual void SAL_CALL removeModifyListener( const Reference< XModifyListener >& aListener ) override; // XModifyListener - virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override; void notifyModifyListener(); @@ -127,51 +127,51 @@ class TableDesignFamily : public ::cppu::WeakImplHelper< XNameContainer, XNamed, { public: // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XNamed - virtual OUString SAL_CALL getName( ) throw (RuntimeException, std::exception) override; - virtual void SAL_CALL setName( const OUString& aName ) throw (RuntimeException, std::exception) override; + virtual OUString SAL_CALL getName( ) override; + virtual void SAL_CALL setName( const OUString& aName ) override; // XNameAccess - virtual Any SAL_CALL getByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; - virtual Sequence< OUString > SAL_CALL getElementNames() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(RuntimeException, std::exception) override; + virtual Any SAL_CALL getByName( const OUString& aName ) override; + virtual Sequence< OUString > SAL_CALL getElementNames() override; + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override; // XElementAccess - virtual Type SAL_CALL getElementType() throw(RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasElements() throw(RuntimeException, std::exception) override; + virtual Type SAL_CALL getElementType() override; + virtual sal_Bool SAL_CALL hasElements() override; // XIndexAccess - virtual sal_Int32 SAL_CALL getCount() throw(RuntimeException, std::exception) override ; - virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getCount() override ; + virtual Any SAL_CALL getByIndex( sal_Int32 Index ) override; // XNameContainer - virtual void SAL_CALL insertByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception) override; - virtual void SAL_CALL removeByName( const OUString& Name ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; + virtual void SAL_CALL insertByName( const OUString& aName, const Any& aElement ) override; + virtual void SAL_CALL removeByName( const OUString& Name ) override; // XNameReplace - virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override; + virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) override; // XSingleServiceFactory - virtual Reference< XInterface > SAL_CALL createInstance( ) throw(Exception, RuntimeException, std::exception) override; - virtual Reference< XInterface > SAL_CALL createInstanceWithArguments( const Sequence< Any >& aArguments ) throw(Exception, RuntimeException, std::exception) override; + virtual Reference< XInterface > SAL_CALL createInstance( ) override; + virtual Reference< XInterface > SAL_CALL createInstanceWithArguments( const Sequence< Any >& aArguments ) override; // XComponent - virtual void SAL_CALL dispose( ) throw (RuntimeException, std::exception) override; - virtual void SAL_CALL addEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException, std::exception) override; - virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& aListener ) throw (RuntimeException, std::exception) override; + virtual void SAL_CALL dispose( ) override; + virtual void SAL_CALL addEventListener( const Reference< XEventListener >& xListener ) override; + virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& aListener ) override; // XPropertySet - virtual Reference<XPropertySetInfo> SAL_CALL getPropertySetInfo() throw (RuntimeException, std::exception) override; - virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception) override; - virtual Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) override; - virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const Reference<XPropertyChangeListener>& xListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) override; - virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const Reference<XPropertyChangeListener>& aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) override; - virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName, const Reference<XVetoableChangeListener>& aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) override; - virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName,const Reference<XVetoableChangeListener>&aListener ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) override; + virtual Reference<XPropertySetInfo> SAL_CALL getPropertySetInfo() override; + virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const Any& aValue ) override; + virtual Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override; + virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const Reference<XPropertyChangeListener>& xListener ) override; + virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const Reference<XPropertyChangeListener>& aListener ) override; + virtual void SAL_CALL addVetoableChangeListener(const OUString& PropertyName, const Reference<XVetoableChangeListener>& aListener ) override; + virtual void SAL_CALL removeVetoableChangeListener(const OUString& PropertyName,const Reference<XVetoableChangeListener>&aListener ) override; TableDesignStyleVector maDesigns; }; @@ -204,17 +204,17 @@ const CellStyleNameMap& TableDesignStyle::getCellStyleNameMap() } // XServiceInfo -OUString SAL_CALL TableDesignStyle::getImplementationName() throw(RuntimeException, std::exception) +OUString SAL_CALL TableDesignStyle::getImplementationName() { return OUString("TableDesignStyle"); } -sal_Bool SAL_CALL TableDesignStyle::supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignStyle::supportsService( const OUString& ServiceName ) { return cppu::supportsService( this, ServiceName ); } -Sequence< OUString > SAL_CALL TableDesignStyle::getSupportedServiceNames() throw(RuntimeException, std::exception) +Sequence< OUString > SAL_CALL TableDesignStyle::getSupportedServiceNames() { OUString aServiceName("com.sun.star.style.Style"); Sequence< OUString > aSeq( &aServiceName, 1 ); @@ -222,12 +222,12 @@ Sequence< OUString > SAL_CALL TableDesignStyle::getSupportedServiceNames() throw } // XStyle -sal_Bool SAL_CALL TableDesignStyle::isUserDefined() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignStyle::isUserDefined() { return false; } -sal_Bool SAL_CALL TableDesignStyle::isInUse() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignStyle::isInUse() { ClearableMutexGuard aGuard( rBHelper.rMutex ); OInterfaceContainerHelper * pContainer = rBHelper.getContainer( cppu::UnoType<XModifyListener>::get() ); @@ -248,13 +248,13 @@ sal_Bool SAL_CALL TableDesignStyle::isInUse() throw (RuntimeException, std::exce } -OUString SAL_CALL TableDesignStyle::getParentStyle() throw (RuntimeException, std::exception) +OUString SAL_CALL TableDesignStyle::getParentStyle() { return OUString(); } -void SAL_CALL TableDesignStyle::setParentStyle( const OUString& ) throw (NoSuchElementException, RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::setParentStyle( const OUString& ) { } @@ -262,13 +262,13 @@ void SAL_CALL TableDesignStyle::setParentStyle( const OUString& ) throw (NoSuchE // XNamed -OUString SAL_CALL TableDesignStyle::getName() throw (RuntimeException, std::exception) +OUString SAL_CALL TableDesignStyle::getName() { return msName; } -void SAL_CALL TableDesignStyle::setName( const OUString& rName ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::setName( const OUString& rName ) { msName = rName; } @@ -277,7 +277,7 @@ void SAL_CALL TableDesignStyle::setName( const OUString& rName ) throw (RuntimeE // XNameAccess -Any SAL_CALL TableDesignStyle::getByName( const OUString& rName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TableDesignStyle::getByName( const OUString& rName ) { SolarMutexGuard aGuard; @@ -291,7 +291,7 @@ Any SAL_CALL TableDesignStyle::getByName( const OUString& rName ) throw(NoSuchEl } -Sequence< OUString > SAL_CALL TableDesignStyle::getElementNames() throw(RuntimeException, std::exception) +Sequence< OUString > SAL_CALL TableDesignStyle::getElementNames() { SolarMutexGuard aGuard; @@ -299,7 +299,7 @@ Sequence< OUString > SAL_CALL TableDesignStyle::getElementNames() throw(RuntimeE } -sal_Bool SAL_CALL TableDesignStyle::hasByName( const OUString& rName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignStyle::hasByName( const OUString& rName ) { SolarMutexGuard aGuard; @@ -313,13 +313,13 @@ sal_Bool SAL_CALL TableDesignStyle::hasByName( const OUString& rName ) throw(Ru // XElementAccess -Type SAL_CALL TableDesignStyle::getElementType() throw(RuntimeException, std::exception) +Type SAL_CALL TableDesignStyle::getElementType() { return cppu::UnoType<XStyle>::get(); } -sal_Bool SAL_CALL TableDesignStyle::hasElements() throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignStyle::hasElements() { return true; } @@ -328,13 +328,13 @@ sal_Bool SAL_CALL TableDesignStyle::hasElements() throw(RuntimeException, std::e // XIndexAccess -sal_Int32 SAL_CALL TableDesignStyle::getCount() throw(RuntimeException, std::exception) +sal_Int32 SAL_CALL TableDesignStyle::getCount() { return style_count; } -Any SAL_CALL TableDesignStyle::getByIndex( sal_Int32 Index ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TableDesignStyle::getByIndex( sal_Int32 Index ) { SolarMutexGuard aGuard; @@ -348,7 +348,7 @@ Any SAL_CALL TableDesignStyle::getByIndex( sal_Int32 Index ) throw(IndexOutOfBou // XNameReplace -void SAL_CALL TableDesignStyle::replaceByName( const OUString& rName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::replaceByName( const OUString& rName, const Any& aElement ) { SolarMutexGuard aGuard; @@ -398,7 +398,7 @@ void SAL_CALL TableDesignStyle::disposing() // XModifyBroadcaster -void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListener >& xListener ) { ClearableMutexGuard aGuard( rBHelper.rMutex ); if (rBHelper.bDisposed || rBHelper.bInDispose) @@ -414,7 +414,7 @@ void SAL_CALL TableDesignStyle::addModifyListener( const Reference< XModifyListe } -void SAL_CALL TableDesignStyle::removeModifyListener( const Reference< XModifyListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::removeModifyListener( const Reference< XModifyListener >& xListener ) { rBHelper.removeListener( cppu::UnoType<XModifyListener>::get(), xListener ); } @@ -439,13 +439,13 @@ void TableDesignStyle::notifyModifyListener() // if we get a modify hint from a style, notify all registered XModifyListener -void SAL_CALL TableDesignStyle::modified( const css::lang::EventObject& ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::modified( const css::lang::EventObject& ) { notifyModifyListener(); } -void SAL_CALL TableDesignStyle::disposing( const css::lang::EventObject& ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL TableDesignStyle::disposing( const css::lang::EventObject& ) { } @@ -454,17 +454,17 @@ void SAL_CALL TableDesignStyle::disposing( const css::lang::EventObject& ) throw // XServiceInfo -OUString SAL_CALL TableDesignFamily::getImplementationName() throw(RuntimeException, std::exception) +OUString SAL_CALL TableDesignFamily::getImplementationName() { return OUString("TableDesignFamily"); } -sal_Bool SAL_CALL TableDesignFamily::supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignFamily::supportsService( const OUString& ServiceName ) { return cppu::supportsService( this, ServiceName ); } -Sequence< OUString > SAL_CALL TableDesignFamily::getSupportedServiceNames() throw(RuntimeException, std::exception) +Sequence< OUString > SAL_CALL TableDesignFamily::getSupportedServiceNames() { OUString aServiceName("com.sun.star.style.StyleFamily"); Sequence< OUString > aSeq( &aServiceName, 1 ); @@ -472,17 +472,17 @@ Sequence< OUString > SAL_CALL TableDesignFamily::getSupportedServiceNames() thro } // XNamed -OUString SAL_CALL TableDesignFamily::getName() throw (RuntimeException, std::exception) +OUString SAL_CALL TableDesignFamily::getName() { return OUString( "table" ); } -void SAL_CALL TableDesignFamily::setName( const OUString& ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::setName( const OUString& ) { } // XNameAccess -Any SAL_CALL TableDesignFamily::getByName( const OUString& rName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TableDesignFamily::getByName( const OUString& rName ) { SolarMutexGuard aGuard; @@ -498,7 +498,7 @@ Any SAL_CALL TableDesignFamily::getByName( const OUString& rName ) throw(NoSuchE } -Sequence< OUString > SAL_CALL TableDesignFamily::getElementNames() throw(RuntimeException, std::exception) +Sequence< OUString > SAL_CALL TableDesignFamily::getElementNames() { SolarMutexGuard aGuard; @@ -514,7 +514,7 @@ Sequence< OUString > SAL_CALL TableDesignFamily::getElementNames() throw(Runtime } -sal_Bool SAL_CALL TableDesignFamily::hasByName( const OUString& aName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignFamily::hasByName( const OUString& aName ) { SolarMutexGuard aGuard; @@ -531,13 +531,13 @@ sal_Bool SAL_CALL TableDesignFamily::hasByName( const OUString& aName ) throw(Ru // XElementAccess -Type SAL_CALL TableDesignFamily::getElementType() throw(RuntimeException, std::exception) +Type SAL_CALL TableDesignFamily::getElementType() { return cppu::UnoType<XStyle>::get(); } -sal_Bool SAL_CALL TableDesignFamily::hasElements() throw(RuntimeException, std::exception) +sal_Bool SAL_CALL TableDesignFamily::hasElements() { SolarMutexGuard aGuard; @@ -548,7 +548,7 @@ sal_Bool SAL_CALL TableDesignFamily::hasElements() throw(RuntimeException, std:: // XIndexAccess -sal_Int32 SAL_CALL TableDesignFamily::getCount() throw(RuntimeException, std::exception) +sal_Int32 SAL_CALL TableDesignFamily::getCount() { SolarMutexGuard aGuard; @@ -556,7 +556,7 @@ sal_Int32 SAL_CALL TableDesignFamily::getCount() throw(RuntimeException, std::ex } -Any SAL_CALL TableDesignFamily::getByIndex( sal_Int32 Index ) throw(IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception) +Any SAL_CALL TableDesignFamily::getByIndex( sal_Int32 Index ) { SolarMutexGuard aGuard; @@ -570,7 +570,7 @@ Any SAL_CALL TableDesignFamily::getByIndex( sal_Int32 Index ) throw(IndexOutOfBo // XNameContainer -void SAL_CALL TableDesignFamily::insertByName( const OUString& rName, const Any& rElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::insertByName( const OUString& rName, const Any& rElement ) { SolarMutexGuard aGuard; @@ -589,7 +589,7 @@ void SAL_CALL TableDesignFamily::insertByName( const OUString& rName, const Any& } -void SAL_CALL TableDesignFamily::removeByName( const OUString& rName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::removeByName( const OUString& rName ) { SolarMutexGuard aGuard; @@ -612,7 +612,7 @@ void SAL_CALL TableDesignFamily::removeByName( const OUString& rName ) throw(NoS // XNameReplace -void SAL_CALL TableDesignFamily::replaceByName( const OUString& rName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::replaceByName( const OUString& rName, const Any& aElement ) { SolarMutexGuard aGuard; @@ -639,7 +639,7 @@ void SAL_CALL TableDesignFamily::replaceByName( const OUString& rName, const Any // XSingleServiceFactory -Reference< XInterface > SAL_CALL TableDesignFamily::createInstance() throw(Exception, RuntimeException, std::exception) +Reference< XInterface > SAL_CALL TableDesignFamily::createInstance() { SolarMutexGuard aGuard; @@ -647,7 +647,7 @@ Reference< XInterface > SAL_CALL TableDesignFamily::createInstance() throw(Excep } -Reference< XInterface > SAL_CALL TableDesignFamily::createInstanceWithArguments( const Sequence< Any >& ) throw(Exception, RuntimeException, std::exception) +Reference< XInterface > SAL_CALL TableDesignFamily::createInstanceWithArguments( const Sequence< Any >& ) { return createInstance(); } @@ -656,7 +656,7 @@ Reference< XInterface > SAL_CALL TableDesignFamily::createInstanceWithArguments( // XComponent -void SAL_CALL TableDesignFamily::dispose( ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::dispose( ) { TableDesignStyleVector aDesigns; aDesigns.swap( maDesigns ); @@ -670,12 +670,12 @@ void SAL_CALL TableDesignFamily::dispose( ) throw (RuntimeException, std::excep } -void SAL_CALL TableDesignFamily::addEventListener( const Reference< XEventListener >& ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::addEventListener( const Reference< XEventListener >& ) { } -void SAL_CALL TableDesignFamily::removeEventListener( const Reference< XEventListener >& ) throw (RuntimeException, std::exception) +void SAL_CALL TableDesignFamily::removeEventListener( const Reference< XEventListener >& ) { } @@ -683,20 +683,20 @@ void SAL_CALL TableDesignFamily::removeEventListener( const Reference< XEventLis // XPropertySet -Reference<XPropertySetInfo> TableDesignFamily::getPropertySetInfo() throw (RuntimeException, std::exception) +Reference<XPropertySetInfo> TableDesignFamily::getPropertySetInfo() { OSL_FAIL( "###unexpected!" ); return Reference<XPropertySetInfo>(); } -void TableDesignFamily::setPropertyValue( const OUString& , const Any& ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception) +void TableDesignFamily::setPropertyValue( const OUString& , const Any& ) { OSL_FAIL( "###unexpected!" ); } -Any TableDesignFamily::getPropertyValue( const OUString& PropertyName ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +Any TableDesignFamily::getPropertyValue( const OUString& PropertyName ) { if ( PropertyName == "DisplayName" ) { @@ -710,25 +710,25 @@ Any TableDesignFamily::getPropertyValue( const OUString& PropertyName ) throw (U } -void TableDesignFamily::addPropertyChangeListener( const OUString& , const Reference<XPropertyChangeListener>& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void TableDesignFamily::addPropertyChangeListener( const OUString& , const Reference<XPropertyChangeListener>& ) { OSL_FAIL( "###unexpected!" ); } -void TableDesignFamily::removePropertyChangeListener( const OUString& , const Reference<XPropertyChangeListener>& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void TableDesignFamily::removePropertyChangeListener( const OUString& , const Reference<XPropertyChangeListener>& ) { OSL_FAIL( "###unexpected!" ); } -void TableDesignFamily::addVetoableChangeListener( const OUString& , const Reference<XVetoableChangeListener>& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void TableDesignFamily::addVetoableChangeListener( const OUString& , const Reference<XVetoableChangeListener>& ) { OSL_FAIL( "###unexpected!" ); } -void TableDesignFamily::removeVetoableChangeListener( const OUString& , const Reference<XVetoableChangeListener>& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception) +void TableDesignFamily::removeVetoableChangeListener( const OUString& , const Reference<XVetoableChangeListener>& ) { OSL_FAIL( "###unexpected!" ); } |