diff options
Diffstat (limited to 'xmloff/source/chart/ColorPropertySet.cxx')
-rw-r--r-- | xmloff/source/chart/ColorPropertySet.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx index da9701365a90..254d5e2fb8b6 100644 --- a/xmloff/source/chart/ColorPropertySet.cxx +++ b/xmloff/source/chart/ColorPropertySet.cxx @@ -38,9 +38,9 @@ public: protected: // ____ XPropertySetInfo ____ - virtual Sequence< Property > SAL_CALL getProperties() throw (RuntimeException); - virtual Property SAL_CALL getPropertyByName( const OUString& aName ) throw (UnknownPropertyException, RuntimeException); - virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw (RuntimeException); + virtual Sequence< Property > SAL_CALL getProperties() throw (RuntimeException, std::exception); + virtual Property SAL_CALL getPropertyByName( const OUString& aName ) throw (UnknownPropertyException, RuntimeException, std::exception); + virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw (RuntimeException, std::exception); private: OUString m_aColorPropName; @@ -55,14 +55,14 @@ lcl_ColorPropertySetInfo::lcl_ColorPropertySetInfo( bool bFillColor ) : {} Sequence< Property > SAL_CALL lcl_ColorPropertySetInfo::getProperties() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return Sequence< Property >( & m_aColorProp, 1 ); } Property SAL_CALL lcl_ColorPropertySetInfo::getPropertyByName( const OUString& aName ) - throw (UnknownPropertyException, RuntimeException) + throw (UnknownPropertyException, RuntimeException, std::exception) { if( aName.equals( m_aColorPropName )) return m_aColorProp; @@ -70,7 +70,7 @@ Property SAL_CALL lcl_ColorPropertySetInfo::getPropertyByName( const OUString& a } sal_Bool SAL_CALL lcl_ColorPropertySetInfo::hasPropertyByName( const OUString& Name ) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return Name.equals( m_aColorPropName ); } @@ -96,7 +96,7 @@ ColorPropertySet::~ColorPropertySet() // ____ XPropertySet ____ Reference< XPropertySetInfo > SAL_CALL ColorPropertySet::getPropertySetInfo() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { if( ! m_xInfo.is()) m_xInfo.set( new lcl_ColorPropertySetInfo( m_bIsFillColor )); @@ -109,7 +109,7 @@ void SAL_CALL ColorPropertySet::setPropertyValue( const OUString& /* aPropertyNa PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { aValue >>= m_nColor; } @@ -117,7 +117,7 @@ void SAL_CALL ColorPropertySet::setPropertyValue( const OUString& /* aPropertyNa uno::Any SAL_CALL ColorPropertySet::getPropertyValue( const OUString& /* PropertyName */ ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { return uno::makeAny( m_nColor ); } @@ -125,7 +125,7 @@ uno::Any SAL_CALL ColorPropertySet::getPropertyValue( const OUString& /* Propert void SAL_CALL ColorPropertySet::addPropertyChangeListener( const OUString& /* aPropertyName */, const Reference< XPropertyChangeListener >& /* xListener */ ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { OSL_FAIL( "Not Implemented" ); return; @@ -134,7 +134,7 @@ void SAL_CALL ColorPropertySet::addPropertyChangeListener( const OUString& /* aP void SAL_CALL ColorPropertySet::removePropertyChangeListener( const OUString& /* aPropertyName */, const Reference< XPropertyChangeListener >& /* aListener */ ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { OSL_FAIL( "Not Implemented" ); return; @@ -143,7 +143,7 @@ void SAL_CALL ColorPropertySet::removePropertyChangeListener( const OUString& /* void SAL_CALL ColorPropertySet::addVetoableChangeListener( const OUString& /* PropertyName */, const Reference< XVetoableChangeListener >& /* aListener */ ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { OSL_FAIL( "Not Implemented" ); return; @@ -152,7 +152,7 @@ void SAL_CALL ColorPropertySet::addVetoableChangeListener( const OUString& /* Pr void SAL_CALL ColorPropertySet::removeVetoableChangeListener( const OUString& /* PropertyName */, const Reference< XVetoableChangeListener >& /* aListener */ ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { OSL_FAIL( "Not Implemented" ); return; @@ -162,14 +162,14 @@ void SAL_CALL ColorPropertySet::removeVetoableChangeListener( const OUString& /* PropertyState SAL_CALL ColorPropertySet::getPropertyState( const OUString& /* PropertyName */ ) throw (UnknownPropertyException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { return PropertyState_DIRECT_VALUE; } Sequence< PropertyState > SAL_CALL ColorPropertySet::getPropertyStates( const Sequence< OUString >& /* aPropertyName */ ) throw (UnknownPropertyException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { PropertyState aState = PropertyState_DIRECT_VALUE; return Sequence< PropertyState >( & aState, 1 ); @@ -177,7 +177,7 @@ Sequence< PropertyState > SAL_CALL ColorPropertySet::getPropertyStates( const Se void SAL_CALL ColorPropertySet::setPropertyToDefault( const OUString& PropertyName ) throw (UnknownPropertyException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { if( PropertyName.equals( m_aColorPropName )) m_nColor = m_nDefaultColor; @@ -186,7 +186,7 @@ void SAL_CALL ColorPropertySet::setPropertyToDefault( const OUString& PropertyNa uno::Any SAL_CALL ColorPropertySet::getPropertyDefault( const OUString& aPropertyName ) throw (UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { if( aPropertyName.equals( m_aColorPropName )) return uno::makeAny( m_nDefaultColor ); |