summaryrefslogtreecommitdiffstats
path: root/xmloff/source
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 /xmloff/source
parentFixup whitespace changes, remove commented code. (diff)
downloadcore-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz
core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/chart/ColorPropertySet.cxx34
-rw-r--r--xmloff/source/chart/ColorPropertySet.hxx22
-rw-r--r--xmloff/source/chart/SchXMLImport.cxx2
-rw-r--r--xmloff/source/core/PropertySetMerger.cxx56
-rw-r--r--xmloff/source/core/XMLBasicExportFilter.cxx16
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx34
-rw-r--r--xmloff/source/core/attrlist.cxx16
-rw-r--r--xmloff/source/core/unoatrcn.cxx24
-rw-r--r--xmloff/source/core/xmlexp.cxx24
-rw-r--r--xmloff/source/core/xmlimp.cxx42
-rw-r--r--xmloff/source/draw/animationimport.cxx8
-rw-r--r--xmloff/source/draw/sdxmlexp.cxx2
-rw-r--r--xmloff/source/draw/sdxmlexp_impl.hxx2
-rw-r--r--xmloff/source/draw/sdxmlimp.cxx4
-rw-r--r--xmloff/source/draw/sdxmlimp_impl.hxx4
-rw-r--r--xmloff/source/draw/ximppage.cxx16
-rw-r--r--xmloff/source/forms/attriblistmerge.cxx12
-rw-r--r--xmloff/source/forms/attriblistmerge.hxx12
-rw-r--r--xmloff/source/forms/eventexport.cxx12
-rw-r--r--xmloff/source/forms/eventexport.hxx12
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.cxx36
-rw-r--r--xmloff/source/forms/gridcolumnproptranslator.hxx24
-rw-r--r--xmloff/source/meta/MetaExportComponent.cxx2
-rw-r--r--xmloff/source/meta/MetaImportComponent.cxx2
-rw-r--r--xmloff/source/meta/xmlmetae.cxx16
-rw-r--r--xmloff/source/meta/xmlversion.cxx4
-rw-r--r--xmloff/source/style/StyleMap.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventExport.hxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.cxx2
-rw-r--r--xmloff/source/text/XMLAutoTextEventImport.hxx2
-rw-r--r--xmloff/source/transform/MutableAttrList.cxx16
-rw-r--r--xmloff/source/transform/MutableAttrList.hxx16
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx22
-rw-r--r--xmloff/source/transform/OOo2Oasis.hxx22
-rw-r--r--xmloff/source/transform/Oasis2OOo.cxx8
-rw-r--r--xmloff/source/transform/Oasis2OOo.hxx8
-rw-r--r--xmloff/source/transform/TransformerBase.cxx28
-rw-r--r--xmloff/source/transform/TransformerBase.hxx28
39 files changed, 298 insertions, 298 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 );
diff --git a/xmloff/source/chart/ColorPropertySet.hxx b/xmloff/source/chart/ColorPropertySet.hxx
index ad9639d35fd1..3da1402b9474 100644
--- a/xmloff/source/chart/ColorPropertySet.hxx
+++ b/xmloff/source/chart/ColorPropertySet.hxx
@@ -41,7 +41,7 @@ public:
protected:
// ____ XPropertySet ____
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setPropertyValue(
const OUString& aPropertyName,
const ::com::sun::star::uno::Any& aValue )
@@ -49,55 +49,55 @@ protected:
::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
const OUString& PropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
// ____ XPropertyState ____
virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState(
const OUString& PropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates(
const ::com::sun::star::uno::Sequence< OUString >& aPropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setPropertyToDefault(
const OUString& PropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault(
const OUString& aPropertyName )
throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::WrappedTargetException,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
private:
::com::sun::star::uno::Reference<
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 8becd466ef22..5ca496f68d68 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -577,7 +577,7 @@ SvXMLImportContext* SchXMLImport::CreateStylesContext(
}
void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
uno::Reference< chart2::XChartDocument > xOldDoc( GetModel(), uno::UNO_QUERY );
if( xOldDoc.is() && xOldDoc->hasControllersLocked() )
diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx
index 0369e32e860b..01fb6c8292a8 100644
--- a/xmloff/source/core/PropertySetMerger.cxx
+++ b/xmloff/source/core/PropertySetMerger.cxx
@@ -43,24 +43,24 @@ public:
virtual ~PropertySetMergerImpl();
// XPropertySet
- virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(RuntimeException);
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException);
- virtual Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
+ virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(RuntimeException, std::exception);
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception);
+ virtual Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& xListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const Reference< XPropertyChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& aListener ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
// XPropertyState
- virtual PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException);
- virtual Sequence< PropertyState > SAL_CALL getPropertyStates( const Sequence< OUString >& aPropertyName ) throw(UnknownPropertyException, RuntimeException);
- virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException);
- virtual Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException);
+ virtual PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception);
+ virtual Sequence< PropertyState > SAL_CALL getPropertyStates( const Sequence< OUString >& aPropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception);
+ virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception);
+ virtual Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception);
// 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);
};
// Interface implementation
@@ -80,12 +80,12 @@ PropertySetMergerImpl::~PropertySetMergerImpl()
}
// XPropertySet
-Reference< XPropertySetInfo > SAL_CALL PropertySetMergerImpl::getPropertySetInfo( ) throw(RuntimeException)
+Reference< XPropertySetInfo > SAL_CALL PropertySetMergerImpl::getPropertySetInfo( ) throw(RuntimeException, std::exception)
{
return this;
}
-void SAL_CALL PropertySetMergerImpl::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
if( mxPropSet1Info->hasPropertyByName( aPropertyName ) )
{
@@ -97,7 +97,7 @@ void SAL_CALL PropertySetMergerImpl::setPropertyValue( const OUString& aProperty
}
}
-Any SAL_CALL PropertySetMergerImpl::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+Any SAL_CALL PropertySetMergerImpl::getPropertyValue( const OUString& PropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
if( mxPropSet1Info->hasPropertyByName( PropertyName ) )
{
@@ -109,24 +109,24 @@ Any SAL_CALL PropertySetMergerImpl::getPropertyValue( const OUString& PropertyNa
}
}
-void SAL_CALL PropertySetMergerImpl::addPropertyChangeListener( const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*xListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::addPropertyChangeListener( const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*xListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
-void SAL_CALL PropertySetMergerImpl::removePropertyChangeListener( const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::removePropertyChangeListener( const OUString& /*aPropertyName*/, const Reference< XPropertyChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
-void SAL_CALL PropertySetMergerImpl::addVetoableChangeListener( const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::addVetoableChangeListener( const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
-void SAL_CALL PropertySetMergerImpl::removeVetoableChangeListener( const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::removeVetoableChangeListener( const OUString& /*PropertyName*/, const Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
// XPropertyState
-PropertyState SAL_CALL PropertySetMergerImpl::getPropertyState( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException)
+PropertyState SAL_CALL PropertySetMergerImpl::getPropertyState( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception)
{
if( mxPropSet1Info->hasPropertyByName( PropertyName ) )
{
@@ -152,7 +152,7 @@ PropertyState SAL_CALL PropertySetMergerImpl::getPropertyState( const OUString&
}
}
-Sequence< PropertyState > SAL_CALL PropertySetMergerImpl::getPropertyStates( const Sequence< OUString >& aPropertyName ) throw(UnknownPropertyException, RuntimeException)
+Sequence< PropertyState > SAL_CALL PropertySetMergerImpl::getPropertyStates( const Sequence< OUString >& aPropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception)
{
const sal_Int32 nCount = aPropertyName.getLength();
Sequence< PropertyState > aPropStates( nCount );
@@ -166,7 +166,7 @@ Sequence< PropertyState > SAL_CALL PropertySetMergerImpl::getPropertyStates( con
return aPropStates;
}
-void SAL_CALL PropertySetMergerImpl::setPropertyToDefault( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException)
+void SAL_CALL PropertySetMergerImpl::setPropertyToDefault( const OUString& PropertyName ) throw(UnknownPropertyException, RuntimeException, std::exception)
{
if( mxPropSet1State.is() && mxPropSet1Info->hasPropertyByName( PropertyName ) )
{
@@ -181,7 +181,7 @@ void SAL_CALL PropertySetMergerImpl::setPropertyToDefault( const OUString& Prope
}
}
-Any SAL_CALL PropertySetMergerImpl::getPropertyDefault( const OUString& aPropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException)
+Any SAL_CALL PropertySetMergerImpl::getPropertyDefault( const OUString& aPropertyName ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
if( mxPropSet1State.is() && mxPropSet1Info->hasPropertyByName( aPropertyName ) )
{
@@ -202,7 +202,7 @@ Any SAL_CALL PropertySetMergerImpl::getPropertyDefault( const OUString& aPropert
}
// XPropertySetInfo
-Sequence< Property > SAL_CALL PropertySetMergerImpl::getProperties() throw(RuntimeException)
+Sequence< Property > SAL_CALL PropertySetMergerImpl::getProperties() throw(RuntimeException, std::exception)
{
Sequence< Property > aProps1( mxPropSet1Info->getProperties() );
const Property* pProps1 = aProps1.getArray();
@@ -227,7 +227,7 @@ Sequence< Property > SAL_CALL PropertySetMergerImpl::getProperties() throw(Runti
return aProperties;
}
-Property SAL_CALL PropertySetMergerImpl::getPropertyByName( const OUString& aName ) throw(UnknownPropertyException, RuntimeException)
+Property SAL_CALL PropertySetMergerImpl::getPropertyByName( const OUString& aName ) throw(UnknownPropertyException, RuntimeException, std::exception)
{
if( mxPropSet1Info->hasPropertyByName( aName ) )
return mxPropSet1Info->getPropertyByName( aName );
@@ -235,7 +235,7 @@ Property SAL_CALL PropertySetMergerImpl::getPropertyByName( const OUString& aNam
return mxPropSet2Info->getPropertyByName( aName );
}
-sal_Bool SAL_CALL PropertySetMergerImpl::hasPropertyByName( const OUString& Name ) throw(RuntimeException)
+sal_Bool SAL_CALL PropertySetMergerImpl::hasPropertyByName( const OUString& Name ) throw(RuntimeException, std::exception)
{
if(mxPropSet1Info->hasPropertyByName( Name ) )
return sal_True;
diff --git a/xmloff/source/core/XMLBasicExportFilter.cxx b/xmloff/source/core/XMLBasicExportFilter.cxx
index eb3f0eceb38a..c3485772c7f0 100644
--- a/xmloff/source/core/XMLBasicExportFilter.cxx
+++ b/xmloff/source/core/XMLBasicExportFilter.cxx
@@ -36,41 +36,41 @@ XMLBasicExportFilter::~XMLBasicExportFilter()
// XDocumentHandler
void XMLBasicExportFilter::startDocument()
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
// do nothing, filter this
}
void XMLBasicExportFilter::endDocument()
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
// do nothing, filter this
}
void XMLBasicExportFilter::startElement( const OUString& aName,
const Reference< xml::sax::XAttributeList >& xAttribs )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->startElement( aName, xAttribs );
}
void XMLBasicExportFilter::endElement( const OUString& aName )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->endElement( aName );
}
void XMLBasicExportFilter::characters( const OUString& aChars )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->characters( aChars );
}
void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->ignorableWhitespace( aWhitespaces );
@@ -78,14 +78,14 @@ void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
void XMLBasicExportFilter::processingInstruction( const OUString& aTarget,
const OUString& aData )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->processingInstruction( aTarget, aData );
}
void XMLBasicExportFilter::setDocumentLocator( const Reference< xml::sax::XLocator >& xLocator )
- throw (xml::sax::SAXException, RuntimeException)
+ throw (xml::sax::SAXException, RuntimeException, std::exception)
{
if ( m_xHandler.is() )
m_xHandler->setDocumentLocator( xLocator );
diff --git a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
index 0817d86aef61..6dea02857480 100644
--- a/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectExportFilter.cxx
@@ -36,13 +36,13 @@ XMLEmbeddedObjectExportFilter::~XMLEmbeddedObjectExportFilter () throw()
}
void SAL_CALL XMLEmbeddedObjectExportFilter::startDocument( void )
- throw( SAXException, RuntimeException )
+ throw( SAXException, RuntimeException, std::exception )
{
// do nothing, filter this
}
void SAL_CALL XMLEmbeddedObjectExportFilter::endDocument( void )
- throw( SAXException, RuntimeException)
+ throw( SAXException, RuntimeException, std::exception)
{
// do nothing, filter this
}
@@ -50,26 +50,26 @@ void SAL_CALL XMLEmbeddedObjectExportFilter::endDocument( void )
void SAL_CALL XMLEmbeddedObjectExportFilter::startElement(
const OUString& rName,
const Reference< XAttributeList >& xAttrList )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->startElement( rName, xAttrList );
}
void SAL_CALL XMLEmbeddedObjectExportFilter::endElement( const OUString& rName )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->endElement( rName );
}
void SAL_CALL XMLEmbeddedObjectExportFilter::characters( const OUString& rChars )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->characters( rChars );
}
void SAL_CALL XMLEmbeddedObjectExportFilter::ignorableWhitespace(
const OUString& rWhitespaces )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->ignorableWhitespace( rWhitespaces );
}
@@ -77,49 +77,49 @@ void SAL_CALL XMLEmbeddedObjectExportFilter::ignorableWhitespace(
void SAL_CALL XMLEmbeddedObjectExportFilter::processingInstruction(
const OUString& rTarget,
const OUString& rData )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->processingInstruction( rTarget, rData );
}
void SAL_CALL XMLEmbeddedObjectExportFilter::setDocumentLocator(
const Reference< XLocator >& rLocator )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
xHandler->setDocumentLocator( rLocator );
}
// XExtendedDocumentHandler
void SAL_CALL XMLEmbeddedObjectExportFilter::startCDATA( void )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( xExtHandler.is() )
xExtHandler->startCDATA();
}
void SAL_CALL XMLEmbeddedObjectExportFilter::endCDATA( void )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if( xExtHandler.is() )
xExtHandler->endCDATA();
}
void SAL_CALL XMLEmbeddedObjectExportFilter::comment( const OUString& rComment )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( xExtHandler.is() )
xExtHandler->comment( rComment );
}
void SAL_CALL XMLEmbeddedObjectExportFilter::allowLineBreak( void )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( xExtHandler.is() )
xExtHandler->allowLineBreak();
}
void SAL_CALL XMLEmbeddedObjectExportFilter::unknown( const OUString& rString )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( xExtHandler.is() )
xExtHandler->unknown( rString );
@@ -128,7 +128,7 @@ void SAL_CALL XMLEmbeddedObjectExportFilter::unknown( const OUString& rString )
// XInitialize
void SAL_CALL XMLEmbeddedObjectExportFilter::initialize(
const Sequence< Any >& aArguments )
- throw(Exception, RuntimeException)
+ throw(Exception, RuntimeException, std::exception)
{
const sal_Int32 nAnyCount = aArguments.getLength();
const Any* pAny = aArguments.getConstArray();
@@ -146,20 +146,20 @@ void SAL_CALL XMLEmbeddedObjectExportFilter::initialize(
// XServiceInfo
OUString SAL_CALL XMLEmbeddedObjectExportFilter::getImplementationName()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
OUString aStr;
return aStr;
}
sal_Bool SAL_CALL XMLEmbeddedObjectExportFilter::supportsService( const OUString& ServiceName )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL XMLEmbeddedObjectExportFilter::getSupportedServiceNames( )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
Sequence< OUString > aSeq;
return aSeq;
diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx
index c625ae5792a9..1ba863f84c23 100644
--- a/xmloff/source/core/attrlist.cxx
+++ b/xmloff/source/core/attrlist.cxx
@@ -70,7 +70,7 @@ struct SvXMLAttributeList_Impl
-sal_Int16 SAL_CALL SvXMLAttributeList::getLength(void) throw( ::com::sun::star::uno::RuntimeException )
+sal_Int16 SAL_CALL SvXMLAttributeList::getLength(void) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return sal::static_int_cast< sal_Int16 >(m_pImpl->vecAttribute.size());
}
@@ -97,28 +97,28 @@ SvXMLAttributeList::SvXMLAttributeList( const uno::Reference<
AppendAttributeList( rAttrList );
}
-OUString SAL_CALL SvXMLAttributeList::getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException )
+OUString SAL_CALL SvXMLAttributeList::getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return ( static_cast< SvXMLAttributeList_Impl::size_type >( i ) < m_pImpl->vecAttribute.size() ) ? m_pImpl->vecAttribute[i].sName : OUString();
}
-OUString SAL_CALL SvXMLAttributeList::getTypeByIndex(sal_Int16) throw( ::com::sun::star::uno::RuntimeException )
+OUString SAL_CALL SvXMLAttributeList::getTypeByIndex(sal_Int16) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return sType;
}
-OUString SAL_CALL SvXMLAttributeList::getValueByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException )
+OUString SAL_CALL SvXMLAttributeList::getValueByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return ( static_cast< SvXMLAttributeList_Impl::size_type >( i ) < m_pImpl->vecAttribute.size() ) ? m_pImpl->vecAttribute[i].sValue : OUString();
}
-OUString SAL_CALL SvXMLAttributeList::getTypeByName( const OUString& ) throw( ::com::sun::star::uno::RuntimeException )
+OUString SAL_CALL SvXMLAttributeList::getTypeByName( const OUString& ) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return sType;
}
-OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) throw( ::com::sun::star::uno::RuntimeException )
+OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
::std::vector<struct SvXMLTagAttribute_Impl>::iterator ii = m_pImpl->vecAttribute.begin();
@@ -131,7 +131,7 @@ OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) thro
}
-uno::Reference< ::com::sun::star::util::XCloneable > SvXMLAttributeList::createClone() throw( ::com::sun::star::uno::RuntimeException )
+uno::Reference< ::com::sun::star::util::XCloneable > SvXMLAttributeList::createClone() throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
uno::Reference< ::com::sun::star::util::XCloneable > r = new SvXMLAttributeList( *this );
return r;
@@ -264,7 +264,7 @@ SvXMLAttributeList* SvXMLAttributeList::getImplementation( uno::Reference< uno::
// XUnoTunnel
sal_Int64 SAL_CALL SvXMLAttributeList::getSomething( const uno::Sequence< sal_Int8 >& rId )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
rId.getConstArray(), 16 ) )
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 14458747e146..68d43114e472 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -51,13 +51,13 @@ SvUnoAttributeContainer::~SvUnoAttributeContainer()
// container::XElementAccess
uno::Type SAL_CALL SvUnoAttributeContainer::getElementType(void)
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return ::getCppuType((const xml::AttributeData*)0);
}
sal_Bool SAL_CALL SvUnoAttributeContainer::hasElements(void)
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return mpContainer->GetAttrCount() != 0;
}
@@ -102,7 +102,7 @@ const ::com::sun::star::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::get
return theSvUnoAttributeContainerUnoTunnelId::get().getSeq();
}
-sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException)
+sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException, std::exception)
{
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
rId.getConstArray(), 16 ) )
@@ -114,7 +114,7 @@ sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const ::com::sun::star
// container::XNameAccess
uno::Any SAL_CALL SvUnoAttributeContainer::getByName(const OUString& aName)
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
sal_uInt16 nAttr = getIndexByName(aName );
@@ -131,7 +131,7 @@ uno::Any SAL_CALL SvUnoAttributeContainer::getByName(const OUString& aName)
return aAny;
}
-uno::Sequence< OUString > SAL_CALL SvUnoAttributeContainer::getElementNames(void) throw( uno::RuntimeException )
+uno::Sequence< OUString > SAL_CALL SvUnoAttributeContainer::getElementNames(void) throw( uno::RuntimeException, std::exception )
{
const sal_uInt16 nAttrCount = mpContainer->GetAttrCount();
@@ -150,14 +150,14 @@ uno::Sequence< OUString > SAL_CALL SvUnoAttributeContainer::getElementNames(void
return aElementNames;
}
-sal_Bool SAL_CALL SvUnoAttributeContainer::hasByName(const OUString& aName) throw( uno::RuntimeException )
+sal_Bool SAL_CALL SvUnoAttributeContainer::hasByName(const OUString& aName) throw( uno::RuntimeException, std::exception )
{
return getIndexByName(aName ) != USHRT_MAX;
}
// container::XNameReplace
void SAL_CALL SvUnoAttributeContainer::replaceByName(const OUString& aName, const uno::Any& aElement)
- throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
if( aElement.hasValue() && aElement.getValueType() == ::getCppuType((const xml::AttributeData*)0) )
{
@@ -199,7 +199,7 @@ void SAL_CALL SvUnoAttributeContainer::replaceByName(const OUString& aName, cons
// container::XNameContainer
void SAL_CALL SvUnoAttributeContainer::insertByName(const OUString& aName, const uno::Any& aElement)
-throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException )
+throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
if( !aElement.hasValue() || aElement.getValueType() != ::getCppuType((const xml::AttributeData*)0) )
throw lang::IllegalArgumentException();
@@ -238,7 +238,7 @@ throw( lang::IllegalArgumentException, container::ElementExistException, lang::W
}
void SAL_CALL SvUnoAttributeContainer::removeByName(const OUString& Name)
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException )
+ throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
sal_uInt16 nAttr = getIndexByName(Name);
if( nAttr == USHRT_MAX )
@@ -248,13 +248,13 @@ void SAL_CALL SvUnoAttributeContainer::removeByName(const OUString& Name)
}
//XServiceInfo
-OUString SAL_CALL SvUnoAttributeContainer::getImplementationName(void) throw( uno::RuntimeException )
+OUString SAL_CALL SvUnoAttributeContainer::getImplementationName(void) throw( uno::RuntimeException, std::exception )
{
return OUString( "SvUnoAttributeContainer" );
}
uno::Sequence< OUString > SvUnoAttributeContainer::getSupportedServiceNames(void)
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
OUString aSN( "com.sun.star.xml.AttributeContainer" );
uno::Sequence< OUString > aNS( &aSN, 1L );
@@ -262,7 +262,7 @@ uno::Sequence< OUString > SvUnoAttributeContainer::getSupportedServiceNames(void
}
sal_Bool SvUnoAttributeContainer::supportsService(const OUString& ServiceName)
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index aabdef52446e..01887b559955 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -213,7 +213,7 @@ public:
virtual ~SvXMLExportEventListener();
// XEventListener
- virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException, std::exception);
};
SvXMLExportEventListener::SvXMLExportEventListener(SvXMLExport* pTempExport)
@@ -227,7 +227,7 @@ SvXMLExportEventListener::~SvXMLExportEventListener()
// XEventListener
void SAL_CALL SvXMLExportEventListener::disposing( const lang::EventObject& )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
if (pExport)
{
@@ -589,7 +589,7 @@ SvXMLExport::~SvXMLExport()
// XExporter
void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
mxModel = uno::Reference< frame::XModel >::query( xDoc );
if( !mxModel.is() )
@@ -679,7 +679,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo
// XInitialize
void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArguments )
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
{
// #93186# we need to queryInterface every single Any with any expected outcome. This variable hold the queryInterface results.
@@ -789,7 +789,7 @@ void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArgumen
}
// XFilter
-sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue >& aDescriptor ) throw(uno::RuntimeException)
+sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue >& aDescriptor ) throw(uno::RuntimeException, std::exception)
{
// check for xHandler first... should have been supplied in initialize
if( !mxHandler.is() )
@@ -840,7 +840,7 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
return (GetErrorFlags() & (ERROR_DO_NOTHING|ERROR_ERROR_OCCURRED)) == 0;
}
-void SAL_CALL SvXMLExport::cancel() throw(uno::RuntimeException)
+void SAL_CALL SvXMLExport::cancel() throw(uno::RuntimeException, std::exception)
{
// stop export
Sequence<OUString> aEmptySeq;
@@ -848,30 +848,30 @@ void SAL_CALL SvXMLExport::cancel() throw(uno::RuntimeException)
}
OUString SAL_CALL SvXMLExport::getName( )
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return msFilterName;
}
void SAL_CALL SvXMLExport::setName( const OUString& )
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
// do nothing, because it is not possible to set the FilterName
}
// XServiceInfo
-OUString SAL_CALL SvXMLExport::getImplementationName( ) throw(uno::RuntimeException)
+OUString SAL_CALL SvXMLExport::getImplementationName( ) throw(uno::RuntimeException, std::exception)
{
return m_implementationName;
}
-sal_Bool SAL_CALL SvXMLExport::supportsService( const OUString& rServiceName ) throw(uno::RuntimeException)
+sal_Bool SAL_CALL SvXMLExport::supportsService( const OUString& rServiceName ) throw(uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence< OUString > SAL_CALL SvXMLExport::getSupportedServiceNames( )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
uno::Sequence<OUString> aSeq(2);
aSeq[0] = "com.sun.star.document.ExportFilter";
@@ -2105,7 +2105,7 @@ SvXMLExport* SvXMLExport::getImplementation( uno::Reference< uno::XInterface > x
// XUnoTunnel
sal_Int64 SAL_CALL SvXMLExport::getSomething( const uno::Sequence< sal_Int8 >& rId )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
rId.getConstArray(), 16 ) )
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index aae2243e60a3..c0be300b2fd0 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -117,7 +117,7 @@ public:
virtual ~SvXMLImportEventListener();
// XEventListener
- virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException, std::exception);
};
SvXMLImportEventListener::SvXMLImportEventListener(SvXMLImport* pTempImport)
@@ -131,7 +131,7 @@ SvXMLImportEventListener::~SvXMLImportEventListener()
// XEventListener
void SAL_CALL SvXMLImportEventListener::disposing( const lang::EventObject& )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
if (pImport)
{
@@ -456,7 +456,7 @@ const uno::Sequence< sal_Int8 > & SvXMLImport::getUnoTunnelId() throw()
// XUnoTunnel
sal_Int64 SAL_CALL SvXMLImport::getSomething( const uno::Sequence< sal_Int8 >& rId )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{
if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
rId.getConstArray(), 16 ) )
@@ -606,7 +606,7 @@ void SAL_CALL SvXMLImport::endDocument()
void SAL_CALL SvXMLImport::startElement( const OUString& rName,
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
SvXMLNamespaceMap *pRewindMap = 0;
// SAL_INFO("svg", "startElement " << rName);
@@ -716,7 +716,7 @@ void SAL_CALL SvXMLImport::endElement( const OUString&
rName
#endif
)
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
sal_uInt16 nCount = mpContexts->size();
SAL_WARN_IF( nCount == 0, "xmloff.core", "SvXMLImport::endElement: no context left" );
@@ -755,7 +755,7 @@ rName
}
void SAL_CALL SvXMLImport::characters( const OUString& rChars )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
if( !mpContexts->empty() )
{
@@ -764,43 +764,43 @@ void SAL_CALL SvXMLImport::characters( const OUString& rChars )
}
void SAL_CALL SvXMLImport::ignorableWhitespace( const OUString& )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL SvXMLImport::processingInstruction( const OUString&,
const OUString& )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL SvXMLImport::setDocumentLocator( const uno::Reference< xml::sax::XLocator >& rLocator )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
mxLocator = rLocator;
}
// XExtendedDocumentHandler
-void SAL_CALL SvXMLImport::startCDATA( void ) throw(xml::sax::SAXException, uno::RuntimeException)
+void SAL_CALL SvXMLImport::startCDATA( void ) throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
-void SAL_CALL SvXMLImport::endCDATA( void ) throw(uno::RuntimeException)
+void SAL_CALL SvXMLImport::endCDATA( void ) throw(uno::RuntimeException, std::exception)
{
}
void SAL_CALL SvXMLImport::comment( const OUString& )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL SvXMLImport::allowLineBreak( void )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
void SAL_CALL SvXMLImport::unknown( const OUString& )
- throw(xml::sax::SAXException, uno::RuntimeException)
+ throw(xml::sax::SAXException, uno::RuntimeException, std::exception)
{
}
@@ -812,7 +812,7 @@ void SvXMLImport::SetStatistics(const uno::Sequence< beans::NamedValue> &)
// XImporter
void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
mxModel = uno::Reference< frame::XModel >::query( xDoc );
if( !mxModel.is() )
@@ -852,19 +852,19 @@ void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XCompo
// XFilter
sal_Bool SAL_CALL SvXMLImport::filter( const uno::Sequence< beans::PropertyValue >& )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return sal_False;
}
void SAL_CALL SvXMLImport::cancel( )
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
}
// XInitialize
void SAL_CALL SvXMLImport::initialize( const uno::Sequence< uno::Any >& aArguments )
- throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
{
const sal_Int32 nAnyCount = aArguments.getLength();
const uno::Any* pAny = aArguments.getConstArray();
@@ -971,19 +971,19 @@ void SAL_CALL SvXMLImport::initialize( const uno::Sequence< uno::Any >& aArgumen
// XServiceInfo
OUString SAL_CALL SvXMLImport::getImplementationName()
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
return mpImpl->implementationName;
}
sal_Bool SAL_CALL SvXMLImport::supportsService( const OUString& rServiceName )
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence< OUString > SAL_CALL SvXMLImport::getSupportedServiceNames( )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
uno::Sequence<OUString> aSeq(2);
aSeq[0] = "com.sun.star.document.ImportFilter";
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 6861740a8ba0..8957f3924395 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -1261,12 +1261,12 @@ public:
SvXMLImportContext* CreateContext(sal_uInt16 nPrefix, const OUString& rLocalName, const Reference<XAttributeList>& xAttrList);
// XInterface
- virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException);
+ virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception);
virtual void SAL_CALL acquire() throw ();
virtual void SAL_CALL release() throw ();
// XAnimationNodeSupplier
- Reference< XAnimationNode > SAL_CALL getAnimationNode() throw (RuntimeException);
+ Reference< XAnimationNode > SAL_CALL getAnimationNode() throw (RuntimeException, std::exception);
private:
Reference< XAnimationNode > mxRootNode;
@@ -1302,7 +1302,7 @@ AnimationsImport::~AnimationsImport() throw ()
}
// XInterface
-Any SAL_CALL AnimationsImport::queryInterface( const Type& aType ) throw (RuntimeException)
+Any SAL_CALL AnimationsImport::queryInterface( const Type& aType ) throw (RuntimeException, std::exception)
{
if ( aType == ::getCppuType((Reference<XAnimationNodeSupplier> *)0) )
{
@@ -1341,7 +1341,7 @@ SvXMLImportContext *AnimationsImport::CreateContext(sal_uInt16 nPrefix, const OU
}
// XAnimationNodeSupplier
-Reference< XAnimationNode > SAL_CALL AnimationsImport::getAnimationNode() throw (RuntimeException)
+Reference< XAnimationNode > SAL_CALL AnimationsImport::getAnimationNode() throw (RuntimeException, std::exception)
{
return mxRootNode;
}
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 00b47407faab..9a0514a598f1 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -421,7 +421,7 @@ SdXMLExport::SdXMLExport(
// XExporter
void SAL_CALL SdXMLExport::setSourceDocument( const Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
SvXMLExport::setSourceDocument( xDoc );
diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx
index aea83fce3894..3c84efa064dd 100644
--- a/xmloff/source/draw/sdxmlexp_impl.hxx
+++ b/xmloff/source/draw/sdxmlexp_impl.hxx
@@ -178,7 +178,7 @@ public:
void SetProgress(sal_Int32 nProg);
// XExporter
- virtual void SAL_CALL setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception);
// get factories and mappers
XMLSdPropHdlFactory* GetSdPropHdlFactory() const { return mpSdPropHdlFactory; }
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx
index c48cb5f79e37..7ced7b0d1d0e 100644
--- a/xmloff/source/draw/sdxmlimp.cxx
+++ b/xmloff/source/draw/sdxmlimp.cxx
@@ -329,7 +329,7 @@ SdXMLImport::SdXMLImport(
// XImporter
void SAL_CALL SdXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
SvXMLImport::setTargetDocument( xDoc );
@@ -388,7 +388,7 @@ void SAL_CALL SdXMLImport::setTargetDocument( const uno::Reference< lang::XCompo
// XInitialization
void SAL_CALL SdXMLImport::initialize( const uno::Sequence< uno::Any >& aArguments )
- throw( uno::Exception, uno::RuntimeException)
+ throw( uno::Exception, uno::RuntimeException, std::exception)
{
SvXMLImport::initialize( aArguments );
diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx
index 302ba12ace44..87f4e3fb8633 100644
--- a/xmloff/source/draw/sdxmlimp_impl.hxx
+++ b/xmloff/source/draw/sdxmlimp_impl.hxx
@@ -225,10 +225,10 @@ public:
~SdXMLImport() throw ();
// XImporter
- virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception);
// XInitialization
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
virtual void SetViewSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aViewProps);
virtual void SetConfigurationSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aConfigProps);
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index 0fd0aa87073b..c43a03d4c3b0 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -537,12 +537,12 @@ public:
XoNavigationOrderAccess( std::vector< Reference< XShape > >& rShapes );
// XIndexAccess
- virtual sal_Int32 SAL_CALL getCount( ) throw (RuntimeException);
- virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException);
+ virtual sal_Int32 SAL_CALL getCount( ) throw (RuntimeException, std::exception);
+ virtual Any SAL_CALL getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception);
// XElementAccess
- virtual Type SAL_CALL getElementType( ) throw (RuntimeException);
- virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException);
+ virtual Type SAL_CALL getElementType( ) throw (RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException, std::exception);
private:
std::vector< Reference< XShape > > maShapes;
@@ -554,12 +554,12 @@ XoNavigationOrderAccess::XoNavigationOrderAccess( std::vector< Reference< XShape
}
// XIndexAccess
-sal_Int32 SAL_CALL XoNavigationOrderAccess::getCount( ) throw (RuntimeException)
+sal_Int32 SAL_CALL XoNavigationOrderAccess::getCount( ) throw (RuntimeException, std::exception)
{
return static_cast< sal_Int32 >( maShapes.size() );
}
-Any SAL_CALL XoNavigationOrderAccess::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException)
+Any SAL_CALL XoNavigationOrderAccess::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception)
{
if( (Index < 0) || (Index > getCount()) )
throw IndexOutOfBoundsException();
@@ -568,12 +568,12 @@ Any SAL_CALL XoNavigationOrderAccess::getByIndex( sal_Int32 Index ) throw (Index
}
// XElementAccess
-Type SAL_CALL XoNavigationOrderAccess::getElementType( ) throw (RuntimeException)
+Type SAL_CALL XoNavigationOrderAccess::getElementType( ) throw (RuntimeException, std::exception)
{
return cppu::UnoType<XShape>::get();
}
-sal_Bool SAL_CALL XoNavigationOrderAccess::hasElements( ) throw (RuntimeException)
+sal_Bool SAL_CALL XoNavigationOrderAccess::hasElements( ) throw (RuntimeException, std::exception)
{
return maShapes.empty() ? sal_False : sal_True;
}
diff --git a/xmloff/source/forms/attriblistmerge.cxx b/xmloff/source/forms/attriblistmerge.cxx
index d7fb7439e378..dcb06fe51c54 100644
--- a/xmloff/source/forms/attriblistmerge.cxx
+++ b/xmloff/source/forms/attriblistmerge.cxx
@@ -71,7 +71,7 @@ namespace xmloff
return sal_False;
}
- sal_Int16 SAL_CALL OAttribListMerger::getLength( ) throw(RuntimeException)
+ sal_Int16 SAL_CALL OAttribListMerger::getLength( ) throw(RuntimeException, std::exception)
{
sal_Int16 nCount = 0;
for ( AttributeListArray::const_iterator aAccumulate = m_aLists.begin();
@@ -82,7 +82,7 @@ namespace xmloff
return nCount;
}
- OUString SAL_CALL OAttribListMerger::getNameByIndex( sal_Int16 i ) throw(RuntimeException)
+ OUString SAL_CALL OAttribListMerger::getNameByIndex( sal_Int16 i ) throw(RuntimeException, std::exception)
{
Reference< xml::sax::XAttributeList > xSubList;
sal_Int16 nLocalIndex;
@@ -93,7 +93,7 @@ namespace xmloff
return xSubList->getNameByIndex(nLocalIndex);
}
- OUString SAL_CALL OAttribListMerger::getTypeByIndex( sal_Int16 i ) throw(RuntimeException)
+ OUString SAL_CALL OAttribListMerger::getTypeByIndex( sal_Int16 i ) throw(RuntimeException, std::exception)
{
Reference< xml::sax::XAttributeList > xSubList;
sal_Int16 nLocalIndex;
@@ -104,7 +104,7 @@ namespace xmloff
return xSubList->getTypeByIndex(nLocalIndex);
}
- OUString SAL_CALL OAttribListMerger::getTypeByName( const OUString& _rName ) throw(RuntimeException)
+ OUString SAL_CALL OAttribListMerger::getTypeByName( const OUString& _rName ) throw(RuntimeException, std::exception)
{
Reference< xml::sax::XAttributeList > xSubList;
sal_Int16 nLocalIndex;
@@ -117,7 +117,7 @@ namespace xmloff
return xSubList->getTypeByIndex(nLocalIndex);
}
- OUString SAL_CALL OAttribListMerger::getValueByIndex( sal_Int16 i ) throw(RuntimeException)
+ OUString SAL_CALL OAttribListMerger::getValueByIndex( sal_Int16 i ) throw(RuntimeException, std::exception)
{
Reference< xml::sax::XAttributeList > xSubList;
sal_Int16 nLocalIndex;
@@ -128,7 +128,7 @@ namespace xmloff
return xSubList->getValueByIndex(nLocalIndex);
}
- OUString SAL_CALL OAttribListMerger::getValueByName( const OUString& _rName ) throw(RuntimeException)
+ OUString SAL_CALL OAttribListMerger::getValueByName( const OUString& _rName ) throw(RuntimeException, std::exception)
{
Reference< xml::sax::XAttributeList > xSubList;
sal_Int16 nLocalIndex;
diff --git a/xmloff/source/forms/attriblistmerge.hxx b/xmloff/source/forms/attriblistmerge.hxx
index b18d03176482..874bd2c38246 100644
--- a/xmloff/source/forms/attriblistmerge.hxx
+++ b/xmloff/source/forms/attriblistmerge.hxx
@@ -55,12 +55,12 @@ namespace xmloff
void addList(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rList);
// XAttributeList
- virtual sal_Int16 SAL_CALL getLength( ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getNameByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getTypeByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getTypeByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getValueByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getValueByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int16 SAL_CALL getLength( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getNameByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getTypeByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getTypeByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getValueByIndex( sal_Int16 i ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getValueByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
protected:
sal_Bool seekToIndex(sal_Int16 _nGlobalIndex, ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rSubList, sal_Int16& _rLocalIndex);
diff --git a/xmloff/source/forms/eventexport.cxx b/xmloff/source/forms/eventexport.cxx
index cebb790daa9a..e3454d5801e6 100644
--- a/xmloff/source/forms/eventexport.cxx
+++ b/xmloff/source/forms/eventexport.cxx
@@ -87,13 +87,13 @@ namespace xmloff
}
}
- void SAL_CALL OEventDescriptorMapper::replaceByName( const OUString&, const Any& ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OEventDescriptorMapper::replaceByName( const OUString&, const Any& ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
throw IllegalArgumentException(
OUString("replacing is not implemented for this wrapper class."), static_cast< ::cppu::OWeakObject* >(this), 1);
}
- Any SAL_CALL OEventDescriptorMapper::getByName( const OUString& _rName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException)
+ Any SAL_CALL OEventDescriptorMapper::getByName( const OUString& _rName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
MapString2PropertyValueSequence::const_iterator aPos = m_aMappedEvents.find(_rName);
if (m_aMappedEvents.end() == aPos)
@@ -104,7 +104,7 @@ namespace xmloff
return makeAny(aPos->second);
}
- Sequence< OUString > SAL_CALL OEventDescriptorMapper::getElementNames( ) throw(RuntimeException)
+ Sequence< OUString > SAL_CALL OEventDescriptorMapper::getElementNames( ) throw(RuntimeException, std::exception)
{
Sequence< OUString > aReturn(m_aMappedEvents.size());
OUString* pReturn = aReturn.getArray();
@@ -117,18 +117,18 @@ namespace xmloff
return aReturn;
}
- sal_Bool SAL_CALL OEventDescriptorMapper::hasByName( const OUString& _rName ) throw(RuntimeException)
+ sal_Bool SAL_CALL OEventDescriptorMapper::hasByName( const OUString& _rName ) throw(RuntimeException, std::exception)
{
MapString2PropertyValueSequence::const_iterator aPos = m_aMappedEvents.find(_rName);
return m_aMappedEvents.end() != aPos;
}
- Type SAL_CALL OEventDescriptorMapper::getElementType( ) throw(RuntimeException)
+ Type SAL_CALL OEventDescriptorMapper::getElementType( ) throw(RuntimeException, std::exception)
{
return ::getCppuType(static_cast< PropertyValue* >(NULL));
}
- sal_Bool SAL_CALL OEventDescriptorMapper::hasElements( ) throw(RuntimeException)
+ sal_Bool SAL_CALL OEventDescriptorMapper::hasElements( ) throw(RuntimeException, std::exception)
{
return !m_aMappedEvents.empty();
}
diff --git a/xmloff/source/forms/eventexport.hxx b/xmloff/source/forms/eventexport.hxx
index 1886acfef101..537604abf405 100644
--- a/xmloff/source/forms/eventexport.hxx
+++ b/xmloff/source/forms/eventexport.hxx
@@ -56,16 +56,16 @@ namespace xmloff
const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& _rEvents);
// XNameReplace
- virtual void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
// XNameAccess
- virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XElementAccess
- virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
};
} // namespace xmloff
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx
index 848d653ff1d8..89504a3e85e1 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.cxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.cxx
@@ -127,9 +127,9 @@ namespace xmloff
virtual ~OMergedPropertySetInfo();
// XPropertySetInfo
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties( ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::beans::Property SAL_CALL getPropertyByName( const OUString& aName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
OMergedPropertySetInfo::OMergedPropertySetInfo( const Reference< XPropertySetInfo >& _rxMasterInfo )
@@ -142,7 +142,7 @@ namespace xmloff
{
}
- Sequence< Property > SAL_CALL OMergedPropertySetInfo::getProperties( ) throw (RuntimeException)
+ Sequence< Property > SAL_CALL OMergedPropertySetInfo::getProperties( ) throw (RuntimeException, std::exception)
{
// add a "ParaAdjust" property to the master properties
Sequence< Property > aProperties;
@@ -156,7 +156,7 @@ namespace xmloff
return aProperties;
}
- Property SAL_CALL OMergedPropertySetInfo::getPropertyByName( const OUString& aName ) throw (UnknownPropertyException, RuntimeException)
+ Property SAL_CALL OMergedPropertySetInfo::getPropertyByName( const OUString& aName ) throw (UnknownPropertyException, RuntimeException, std::exception)
{
if ( aName == getParaAlignProperty() )
return Property( getParaAlignProperty(), -1,
@@ -168,7 +168,7 @@ namespace xmloff
return m_xMasterInfo->getPropertyByName( aName );
}
- ::sal_Bool SAL_CALL OMergedPropertySetInfo::hasPropertyByName( const OUString& Name ) throw (RuntimeException)
+ ::sal_Bool SAL_CALL OMergedPropertySetInfo::hasPropertyByName( const OUString& Name ) throw (RuntimeException, std::exception)
{
if ( Name == getParaAlignProperty() )
return sal_True;
@@ -191,7 +191,7 @@ namespace xmloff
{
}
- Reference< XPropertySetInfo > SAL_CALL OGridColumnPropertyTranslator::getPropertySetInfo( ) throw (RuntimeException)
+ Reference< XPropertySetInfo > SAL_CALL OGridColumnPropertyTranslator::getPropertySetInfo( ) throw (RuntimeException, std::exception)
{
Reference< XPropertySetInfo > xColumnPropInfo;
if ( m_xGridColumn.is() )
@@ -199,7 +199,7 @@ namespace xmloff
return new OMergedPropertySetInfo( xColumnPropInfo );
}
- void SAL_CALL OGridColumnPropertyTranslator::setPropertyValue( const OUString& _rPropertyName, const Any& aValue ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::setPropertyValue( const OUString& _rPropertyName, const Any& aValue ) throw (UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
// we implement this by delegating it to setPropertyValues, which is to ignore unknown properties. On the other hand, our
// contract requires us to throw a UnknownPropertyException for unknown properties, so check this first.
@@ -212,7 +212,7 @@ namespace xmloff
setPropertyValues( aNames, aValues );
}
- Any SAL_CALL OGridColumnPropertyTranslator::getPropertyValue( const OUString& PropertyName ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
+ Any SAL_CALL OGridColumnPropertyTranslator::getPropertyValue( const OUString& PropertyName ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
Sequence< OUString > aNames( &PropertyName, 1 );
Sequence< Any > aValues = getPropertyValues( aNames );
@@ -222,27 +222,27 @@ namespace xmloff
return Any();
}
- void SAL_CALL OGridColumnPropertyTranslator::addPropertyChangeListener( const OUString&, const Reference< XPropertyChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::addPropertyChangeListener( const OUString&, const Reference< XPropertyChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::addPropertyChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::removePropertyChangeListener( const OUString&, const Reference< XPropertyChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::removePropertyChangeListener( const OUString&, const Reference< XPropertyChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::removePropertyChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::addVetoableChangeListener( const OUString&, const Reference< XVetoableChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::addVetoableChangeListener( const OUString&, const Reference< XVetoableChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::addVetoableChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::removeVetoableChangeListener( const OUString&, const Reference< XVetoableChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::removeVetoableChangeListener( const OUString&, const Reference< XVetoableChangeListener >& ) throw (UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::removeVetoableChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::setPropertyValues( const Sequence< OUString >& aPropertyNames, const Sequence< Any >& aValues ) throw (PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::setPropertyValues( const Sequence< OUString >& aPropertyNames, const Sequence< Any >& aValues ) throw (PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
if ( !m_xGridColumn.is() )
return;
@@ -263,7 +263,7 @@ namespace xmloff
m_xGridColumn->setPropertyValues( aTranslatedNames, aTranslatedValues );
}
- Sequence< Any > SAL_CALL OGridColumnPropertyTranslator::getPropertyValues( const Sequence< OUString >& aPropertyNames ) throw (RuntimeException)
+ Sequence< Any > SAL_CALL OGridColumnPropertyTranslator::getPropertyValues( const Sequence< OUString >& aPropertyNames ) throw (RuntimeException, std::exception)
{
Sequence< Any > aValues( aPropertyNames.getLength() );
if ( !m_xGridColumn.is() )
@@ -281,17 +281,17 @@ namespace xmloff
return aValues;
}
- void SAL_CALL OGridColumnPropertyTranslator::addPropertiesChangeListener( const Sequence< OUString >&, const Reference< XPropertiesChangeListener >& ) throw (RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::addPropertiesChangeListener( const Sequence< OUString >&, const Reference< XPropertiesChangeListener >& ) throw (RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::addPropertiesChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::removePropertiesChangeListener( const Reference< XPropertiesChangeListener >& ) throw (RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::removePropertiesChangeListener( const Reference< XPropertiesChangeListener >& ) throw (RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::removePropertiesChangeListener: not implemented - this should not be needed!" );
}
- void SAL_CALL OGridColumnPropertyTranslator::firePropertiesChangeEvent( const Sequence< OUString >&, const Reference< XPropertiesChangeListener >& ) throw (RuntimeException)
+ void SAL_CALL OGridColumnPropertyTranslator::firePropertiesChangeEvent( const Sequence< OUString >&, const Reference< XPropertiesChangeListener >& ) throw (RuntimeException, std::exception)
{
OSL_FAIL( "OGridColumnPropertyTranslator::firePropertiesChangeEvent: not implemented - this should not be needed!" );
}
diff --git a/xmloff/source/forms/gridcolumnproptranslator.hxx b/xmloff/source/forms/gridcolumnproptranslator.hxx
index 585bd9ee2b17..935c41bbee3f 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.hxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.hxx
@@ -46,20 +46,20 @@ namespace xmloff
virtual ~OGridColumnPropertyTranslator();
// XPropertySet
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
// XMultiPropertySet
- virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyValues( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL addPropertiesChangeListener( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removePropertiesChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL firePropertiesChangeEvent( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyValues( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addPropertiesChangeListener( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removePropertiesChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL firePropertiesChangeEvent( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
} // namespace xmloff
diff --git a/xmloff/source/meta/MetaExportComponent.cxx b/xmloff/source/meta/MetaExportComponent.cxx
index 5e86d98a0099..4cca4e84aca0 100644
--- a/xmloff/source/meta/MetaExportComponent.cxx
+++ b/xmloff/source/meta/MetaExportComponent.cxx
@@ -52,7 +52,7 @@ XMLMetaExportComponent::~XMLMetaExportComponent()
{
}
-void SAL_CALL XMLMetaExportComponent::setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
+void SAL_CALL XMLMetaExportComponent::setSourceDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
{
try
{
diff --git a/xmloff/source/meta/MetaImportComponent.cxx b/xmloff/source/meta/MetaImportComponent.cxx
index 3b85e7eecb99..217cc66c102f 100644
--- a/xmloff/source/meta/MetaImportComponent.cxx
+++ b/xmloff/source/meta/MetaImportComponent.cxx
@@ -63,7 +63,7 @@ SvXMLImportContext* XMLMetaImportComponent::CreateContext(
void SAL_CALL XMLMetaImportComponent::setTargetDocument(
const uno::Reference< lang::XComponent >& xDoc )
- throw(lang::IllegalArgumentException, uno::RuntimeException)
+ throw(lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
mxDocProps = uno::Reference< document::XDocumentProperties >::query( xDoc );
if( !mxDocProps.is() )
diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx
index a1c18567f221..773056b0c0fd 100644
--- a/xmloff/source/meta/xmlmetae.cxx
+++ b/xmloff/source/meta/xmlmetae.cxx
@@ -349,7 +349,7 @@ void SvXMLMetaExport::Export()
// ::com::sun::star::xml::sax::XDocumentHandler:
void SAL_CALL
SvXMLMetaExport::startDocument()
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
// ignore: has already been done by SvXMLExport::exportDoc
DBG_ASSERT( m_level == 0, "SvXMLMetaExport: level error" );
@@ -357,7 +357,7 @@ SvXMLMetaExport::startDocument()
void SAL_CALL
SvXMLMetaExport::endDocument()
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
// ignore: will be done by SvXMLExport::exportDoc
DBG_ASSERT( m_level == 0, "SvXMLMetaExport: level error" );
@@ -367,7 +367,7 @@ SvXMLMetaExport::endDocument()
void SAL_CALL
SvXMLMetaExport::startElement(const OUString & i_rName,
const uno::Reference< xml::sax::XAttributeList > & i_xAttribs)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
if (m_level == 0) {
@@ -449,7 +449,7 @@ SvXMLMetaExport::startElement(const OUString & i_rName,
void SAL_CALL
SvXMLMetaExport::endElement(const OUString & i_rName)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
--m_level;
if (m_level == 0) {
@@ -462,14 +462,14 @@ SvXMLMetaExport::endElement(const OUString & i_rName)
void SAL_CALL
SvXMLMetaExport::characters(const OUString & i_rChars)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
mrExport.Characters(i_rChars);
}
void SAL_CALL
SvXMLMetaExport::ignorableWhitespace(const OUString & /*i_rWhitespaces*/)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
mrExport.IgnorableWhitespace(/*i_rWhitespaces*/);
}
@@ -477,7 +477,7 @@ SvXMLMetaExport::ignorableWhitespace(const OUString & /*i_rWhitespaces*/)
void SAL_CALL
SvXMLMetaExport::processingInstruction(const OUString & i_rTarget,
const OUString & i_rData)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
// ignore; the exporter cannot handle these
(void) i_rTarget;
@@ -486,7 +486,7 @@ SvXMLMetaExport::processingInstruction(const OUString & i_rTarget,
void SAL_CALL
SvXMLMetaExport::setDocumentLocator(const uno::Reference<xml::sax::XLocator>&)
- throw (uno::RuntimeException, xml::sax::SAXException)
+ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
{
// nothing to do here, move along...
}
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 46e36c3af9b7..7b346d9506df 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -319,7 +319,7 @@ sal_Bool XMLVersionContext::ParseISODateTimeString(
}
void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XStorage >& xRoot, const uno::Sequence< util::RevisionTag >& rVersions )
- throw (::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
{
// no storage, no version list!
if ( xRoot.is() )
@@ -365,7 +365,7 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
}
uno::Sequence< util::RevisionTag > SAL_CALL XMLVersionListPersistence::load( const uno::Reference< embed::XStorage >& xRoot )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
{
com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag > aVersions;
diff --git a/xmloff/source/style/StyleMap.cxx b/xmloff/source/style/StyleMap.cxx
index 0bfdd288f4a1..05cd078231c8 100644
--- a/xmloff/source/style/StyleMap.cxx
+++ b/xmloff/source/style/StyleMap.cxx
@@ -63,7 +63,7 @@ StyleMap* StyleMap::getImplementation( Reference< XInterface > xInt ) throw()
// XUnoTunnel
sal_Int64 SAL_CALL StyleMap::getSomething(
const Sequence< sal_Int8 >& rId )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if( rId.getLength() == 16 &&
0 == memcmp( getUnoTunnelId().getConstArray(),
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx
index 495be2117dc7..fab82d33b4cb 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.cxx
@@ -75,7 +75,7 @@ XMLAutoTextEventExport::~XMLAutoTextEventExport()
void XMLAutoTextEventExport::initialize(
const Sequence<Any> & rArguments )
- throw(uno::Exception, uno::RuntimeException)
+ throw(uno::Exception, uno::RuntimeException, std::exception)
{
if (rArguments.getLength() > 1)
{
diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx
index 5c2ca5e7c004..8456c7df6e65 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.hxx
@@ -67,7 +67,7 @@ public:
::com::sun::star::uno::Any> & rArguments )
throw(
::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
protected:
diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx
index e96e4209d35f..8f91521c5a6b 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.cxx
@@ -57,7 +57,7 @@ XMLAutoTextEventImport::~XMLAutoTextEventImport() throw()
void XMLAutoTextEventImport::initialize(
const Sequence<Any> & rArguments )
- throw(Exception, RuntimeException)
+ throw(Exception, RuntimeException, std::exception)
{
// The events may come as either an XNameReplace or XEventsSupplier.
diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx
index 223c56d95425..3012f7483991 100644
--- a/xmloff/source/text/XMLAutoTextEventImport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventImport.hxx
@@ -56,7 +56,7 @@ public:
::com::sun::star::uno::Any> & rArguments )
throw(
::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::uno::RuntimeException, std::exception);
protected:
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx
index 22607ee99650..e3fc5cdef820 100644
--- a/xmloff/source/transform/MutableAttrList.cxx
+++ b/xmloff/source/transform/MutableAttrList.cxx
@@ -77,7 +77,7 @@ const Sequence< sal_Int8 > & XMLMutableAttributeList::getUnoTunnelId() throw()
// XUnoTunnel
sal_Int64 SAL_CALL XMLMutableAttributeList::getSomething(
const Sequence< sal_Int8 >& rId )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
if( rId.getLength() == 16 &&
0 == memcmp( getUnoTunnelId().getConstArray(),
@@ -89,48 +89,48 @@ sal_Int64 SAL_CALL XMLMutableAttributeList::getSomething(
}
sal_Int16 SAL_CALL XMLMutableAttributeList::getLength(void)
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getLength();
}
OUString SAL_CALL XMLMutableAttributeList::getNameByIndex(sal_Int16 i)
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getNameByIndex( i );
}
OUString SAL_CALL XMLMutableAttributeList::getTypeByIndex(sal_Int16 i)
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getTypeByIndex( i );
}
OUString SAL_CALL XMLMutableAttributeList::getValueByIndex(sal_Int16 i)
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getValueByIndex( i );
}
OUString SAL_CALL XMLMutableAttributeList::getTypeByName(
const OUString& rName )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getTypeByName( rName );
}
OUString SAL_CALL XMLMutableAttributeList::getValueByName(
const OUString& rName)
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return m_xAttrList->getValueByName( rName );
}
Reference< XCloneable > XMLMutableAttributeList::createClone()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
// A cloned list will be a read only list!
Reference< XCloneable > r = new SvXMLAttributeList( m_xAttrList );
diff --git a/xmloff/source/transform/MutableAttrList.hxx b/xmloff/source/transform/MutableAttrList.hxx
index eb2291e4a0e2..6a8837aa861d 100644
--- a/xmloff/source/transform/MutableAttrList.hxx
+++ b/xmloff/source/transform/MutableAttrList.hxx
@@ -50,18 +50,18 @@ public:
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::xml::sax::XAttributeList
- virtual sal_Int16 SAL_CALL getLength(void) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString SAL_CALL getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString SAL_CALL getTypeByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString SAL_CALL getValueByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException );
- virtual OUString SAL_CALL getValueByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Int16 SAL_CALL getLength(void) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual OUString SAL_CALL getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual OUString SAL_CALL getTypeByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual OUString SAL_CALL getTypeByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual OUString SAL_CALL getValueByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual OUString SAL_CALL getValueByName(const OUString& aName) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// ::com::sun::star::util::XCloneable
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// methods that are not contained in any interface
void SetValueByIndex( sal_Int16 i, const OUString& rValue );
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index 60491fb3bd8a..9a9deb434d8f 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1862,7 +1862,7 @@ OOo2OasisTransformer::~OOo2OasisTransformer() throw()
}
Any OOo2OasisTransformer::queryInterface( const Type& rType )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
Any aRet;
if ( rType == ::getCppuType((Reference<XImporter> *)0) )
@@ -1886,7 +1886,7 @@ Any OOo2OasisTransformer::queryInterface( const Type& rType )
// XImporter
void SAL_CALL OOo2OasisTransformer::setTargetDocument(
const Reference< XComponent >& xDoc )
- throw( IllegalArgumentException, RuntimeException)
+ throw( IllegalArgumentException, RuntimeException, std::exception)
{
if( !GetDocHandler().is() )
{
@@ -1907,7 +1907,7 @@ void SAL_CALL OOo2OasisTransformer::setTargetDocument(
// XFilter
sal_Bool SAL_CALL OOo2OasisTransformer::filter(
const Sequence< PropertyValue >& aDescriptor )
- throw ( RuntimeException)
+ throw ( RuntimeException, std::exception)
{
Reference< XFilter> xFilter( GetDocHandler(), UNO_QUERY );
OSL_ENSURE( xFilter.is(), "doc handler is not a filter" );
@@ -1918,7 +1918,7 @@ sal_Bool SAL_CALL OOo2OasisTransformer::filter(
}
void SAL_CALL OOo2OasisTransformer::cancel( )
- throw ( RuntimeException)
+ throw ( RuntimeException, std::exception)
{
Reference< XFilter> xFilter( GetDocHandler(), UNO_QUERY );
OSL_ENSURE( xFilter.is(), "doc handler is not a filter" );
@@ -1929,13 +1929,13 @@ void SAL_CALL OOo2OasisTransformer::cancel( )
// XInitialize
void SAL_CALL OOo2OasisTransformer::initialize(
const Sequence< Any >& rArguments )
- throw( Exception, RuntimeException )
+ throw( Exception, RuntimeException, std::exception )
{
Initialize( rArguments );
}
void SAL_CALL OOo2OasisTransformer::startDocument( void )
- throw( SAXException, RuntimeException )
+ throw( SAXException, RuntimeException, std::exception )
{
if( !GetDocHandler().is() )
{
@@ -2001,7 +2001,7 @@ const Sequence< sal_Int8 > & OOo2OasisTransformer::getUnoTunnelId() throw()
// XUnoTunnel
sal_Int64 SAL_CALL OOo2OasisTransformer::getSomething( const Sequence< sal_Int8 >& rId )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if( rId.getLength() == 16
&& 0 == memcmp( getUnoTunnelId().getConstArray(),
@@ -2017,19 +2017,19 @@ sal_Int64 SAL_CALL OOo2OasisTransformer::getSomething( const Sequence< sal_Int8
// XServiceInfo
OUString SAL_CALL OOo2OasisTransformer::getImplementationName()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return m_aImplName;
}
sal_Bool SAL_CALL OOo2OasisTransformer::supportsService( const OUString& ServiceName )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL OOo2OasisTransformer::getSupportedServiceNames( )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
Sequence<OUString> aSeq(0);
return aSeq;
@@ -2037,7 +2037,7 @@ Sequence< OUString > SAL_CALL OOo2OasisTransformer::getSupportedServiceNames( )
// XTypeProvider
Sequence< ::com::sun::star::uno::Type > SAL_CALL
- OOo2OasisTransformer::getTypes() throw(RuntimeException)
+ OOo2OasisTransformer::getTypes() throw(RuntimeException, std::exception)
{
Sequence< ::com::sun::star::uno::Type > aTypes(
XMLTransformerBase::getTypes() );
diff --git a/xmloff/source/transform/OOo2Oasis.hxx b/xmloff/source/transform/OOo2Oasis.hxx
index 628ce1baefa8..9607d6d93aaa 100644
--- a/xmloff/source/transform/OOo2Oasis.hxx
+++ b/xmloff/source/transform/OOo2Oasis.hxx
@@ -61,7 +61,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL acquire( ) throw ()
{ XMLTransformerBase::acquire(); };
@@ -70,32 +70,32 @@ public:
{ XMLTransformerBase::release(); };
// XInitialization
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XTypeProvider
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XImporter
- virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setTargetDocument( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& xDoc ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception);
// XFilter
- virtual sal_Bool SAL_CALL filter( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL cancel( ) throw (::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL filter( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL cancel( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
void SAL_CALL Initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
// ::com::sun::star::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument(void)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual OUString GetEventName( const OUString& rName,
sal_Bool bForm = sal_False );
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index f8189800157d..cfcea4f031f3 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -1987,7 +1987,7 @@ const Sequence< sal_Int8 > & Oasis2OOoTransformer::getUnoTunnelId() throw()
// XUnoTunnel
sal_Int64 SAL_CALL Oasis2OOoTransformer::getSomething( const Sequence< sal_Int8 >& rId )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
if( rId.getLength() == 16
&& 0 == memcmp( getUnoTunnelId().getConstArray(),
@@ -2003,19 +2003,19 @@ sal_Int64 SAL_CALL Oasis2OOoTransformer::getSomething( const Sequence< sal_Int8
// XServiceInfo
OUString SAL_CALL Oasis2OOoTransformer::getImplementationName()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return Oasis2OOoTransformer_getImplementationName();
}
sal_Bool SAL_CALL Oasis2OOoTransformer::supportsService( const OUString& ServiceName )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL Oasis2OOoTransformer::getSupportedServiceNames( )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
Sequence<OUString> aSeq(0);
return aSeq;
diff --git a/xmloff/source/transform/Oasis2OOo.hxx b/xmloff/source/transform/Oasis2OOo.hxx
index a2670d944c41..d99fd61276e6 100644
--- a/xmloff/source/transform/Oasis2OOo.hxx
+++ b/xmloff/source/transform/Oasis2OOo.hxx
@@ -47,12 +47,12 @@ public:
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString GetEventName( const OUString& rName,
sal_Bool bForm );
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 6915862673ff..875eeb37033b 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -209,20 +209,20 @@ XMLTransformerBase::~XMLTransformerBase() throw ()
}
void SAL_CALL XMLTransformerBase::startDocument( void )
- throw( SAXException, RuntimeException )
+ throw( SAXException, RuntimeException, std::exception )
{
m_xHandler->startDocument();
}
void SAL_CALL XMLTransformerBase::endDocument( void )
- throw( SAXException, RuntimeException)
+ throw( SAXException, RuntimeException, std::exception)
{
m_xHandler->endDocument();
}
void SAL_CALL XMLTransformerBase::startElement( const OUString& rName,
const Reference< XAttributeList >& rAttrList )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
SvXMLNamespaceMap *pRewindMap = 0;
@@ -319,7 +319,7 @@ void SAL_CALL XMLTransformerBase::endElement( const OUString&
rName
#endif
)
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( !m_pContexts->empty() )
{
@@ -353,7 +353,7 @@ rName
}
void SAL_CALL XMLTransformerBase::characters( const OUString& rChars )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( !m_pContexts->empty() )
{
@@ -362,53 +362,53 @@ void SAL_CALL XMLTransformerBase::characters( const OUString& rChars )
}
void SAL_CALL XMLTransformerBase::ignorableWhitespace( const OUString& rWhitespaces )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
m_xHandler->ignorableWhitespace( rWhitespaces );
}
void SAL_CALL XMLTransformerBase::processingInstruction( const OUString& rTarget,
const OUString& rData )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
m_xHandler->processingInstruction( rTarget, rData );
}
void SAL_CALL XMLTransformerBase::setDocumentLocator( const Reference< XLocator >& rLocator )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
m_xLocator = rLocator;
}
// XExtendedDocumentHandler
-void SAL_CALL XMLTransformerBase::startCDATA( void ) throw(SAXException, RuntimeException)
+void SAL_CALL XMLTransformerBase::startCDATA( void ) throw(SAXException, RuntimeException, std::exception)
{
if( m_xExtHandler.is() )
m_xExtHandler->startCDATA();
}
-void SAL_CALL XMLTransformerBase::endCDATA( void ) throw(RuntimeException)
+void SAL_CALL XMLTransformerBase::endCDATA( void ) throw(RuntimeException, std::exception)
{
if( m_xExtHandler.is() )
m_xExtHandler->endCDATA();
}
void SAL_CALL XMLTransformerBase::comment( const OUString& rComment )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( m_xExtHandler.is() )
m_xExtHandler->comment( rComment );
}
void SAL_CALL XMLTransformerBase::allowLineBreak( void )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( m_xExtHandler.is() )
m_xExtHandler->allowLineBreak();
}
void SAL_CALL XMLTransformerBase::unknown( const OUString& rString )
- throw(SAXException, RuntimeException)
+ throw(SAXException, RuntimeException, std::exception)
{
if( m_xExtHandler.is() )
m_xExtHandler->unknown( rString );
@@ -416,7 +416,7 @@ void SAL_CALL XMLTransformerBase::unknown( const OUString& rString )
// XInitialize
void SAL_CALL XMLTransformerBase::initialize( const Sequence< Any >& aArguments )
- throw(Exception, RuntimeException)
+ throw(Exception, RuntimeException, std::exception)
{
const sal_Int32 nAnyCount = aArguments.getLength();
const Any* pAny = aArguments.getConstArray();
diff --git a/xmloff/source/transform/TransformerBase.hxx b/xmloff/source/transform/TransformerBase.hxx
index de94241ac51d..740a8f4169fd 100644
--- a/xmloff/source/transform/TransformerBase.hxx
+++ b/xmloff/source/transform/TransformerBase.hxx
@@ -88,36 +88,36 @@ public:
// ::com::sun::star::xml::sax::XDocumentHandler
virtual void SAL_CALL startDocument(void)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL endDocument(void)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL startElement(const OUString& aName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL endElement(const OUString& aName)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL characters(const OUString& aChars)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL processingInstruction(const OUString& aTarget,
const OUString& aData)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL setDocumentLocator(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator > & xLocator)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
// ::com::sun::star::xml::sax::XExtendedDocumentHandler
- virtual void SAL_CALL startCDATA(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL endCDATA(void) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL startCDATA(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL endCDATA(void) throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL comment(const OUString& sComment)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL allowLineBreak(void)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL unknown(const OUString& sString)
- throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception );
// XInitialization
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
// C++
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & GetDocHandler() { return m_xHandler; }