summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/draw/animationexport.cxx36
-rw-r--r--xmloff/source/draw/animationimport.cxx14
-rw-r--r--xmloff/source/draw/animexp.cxx8
-rw-r--r--xmloff/source/draw/animimp.cxx4
-rw-r--r--xmloff/source/draw/ximppage.cxx4
-rw-r--r--xmloff/source/style/xmlnumi.cxx4
-rw-r--r--xmloff/source/text/txtparai.cxx4
7 files changed, 37 insertions, 37 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx
index 8d893d0b04e6..9c8594b0d658 100644
--- a/xmloff/source/draw/animationexport.cxx
+++ b/xmloff/source/draw/animationexport.cxx
@@ -554,9 +554,9 @@ AnimationsExporterImpl::AnimationsExporterImpl( SvXMLExport& rExport, const Refe
{
mxExport = static_cast< ::com::sun::star::document::XFilter *>(&rExport);
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporterImpl::AnimationsExporterImpl(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsExporterImpl::AnimationsExporterImpl(), RuntimeException caught!" );
}
mpSdPropHdlFactory = new XMLSdPropHdlFactory( mrExport.GetModel(), mrExport );
@@ -688,7 +688,7 @@ void AnimationsExporterImpl::prepareTransitionNode()
mrExport.getInterfaceToIdentifierMapper().registerReference( xInt );
}
}
- catch( Exception& )
+ catch (const Exception&)
{
OSL_FAIL( "xmloff::AnimationsExporterImpl::prepareNode(), Exception caught!" );
}
@@ -769,9 +769,9 @@ void AnimationsExporterImpl::prepareNode( const Reference< XAnimationNode >& xNo
}
}
}
- catch( Exception& )
+ catch (const Exception&)
{
- OSL_FAIL( "xmloff::AnimationsExporterImpl::prepareNode(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsExporterImpl::prepareNode(), RuntimeException caught!" );
}
}
@@ -1016,9 +1016,9 @@ void AnimationsExporterImpl::exportNode( const Reference< XAnimationNode >& xNod
OSL_FAIL( "xmloff::AnimationsExporterImpl::exportNode(), invalid AnimationNodeType!" );
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporterImpl::exportNode(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsExporterImpl::exportNode(), RuntimeException caught!" );
}
// if something goes wrong, its always a good idea to clear the attribute list
@@ -1100,9 +1100,9 @@ void AnimationsExporterImpl::exportContainer( const Reference< XTimeContainer >&
exportNode( xChildNode );
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporterImpl::exportContainer(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsExporterImpl::exportContainer(), RuntimeException caught!" );
}
}
@@ -1364,7 +1364,7 @@ void AnimationsExporterImpl::exportAnimate( const Reference< XAnimate >& xAnimat
SvXMLElementExport aElement( mrExport, XML_NAMESPACE_ANIMATION, eElementToken, sal_True, sal_True );
}
- catch( const Exception& )
+ catch (const Exception&)
{
OSL_FAIL( "xmloff::AnimationsExporterImpl::exportAnimate(), Exception cought!" );
}
@@ -1396,7 +1396,7 @@ void AnimationsExporterImpl::exportAudio( const Reference< XAudio >& xAudio )
SvXMLElementExport aElement( mrExport, XML_NAMESPACE_ANIMATION, XML_AUDIO, sal_True, sal_True );
}
- catch( const Exception& )
+ catch (const Exception&)
{
OSL_FAIL( "xmloff::AnimationsExporterImpl::exportAudio(), exception caught!" );
}
@@ -1423,7 +1423,7 @@ void AnimationsExporterImpl::exportCommand( const Reference< XCommand >& xComman
SvXMLElementExport aElement( mrExport, XML_NAMESPACE_ANIMATION, XML_COMMAND, sal_True, sal_True );
}
- catch( const Exception& )
+ catch (const Exception&)
{
OSL_FAIL( "xmloff::AnimationsExporterImpl::exportCommand(), exception caught!" );
}
@@ -1445,9 +1445,9 @@ Reference< XInterface > AnimationsExporterImpl::getParagraphTarget( const Paragr
return xRef;
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporterImpl::getParagraphTarget(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsExporterImpl::getParagraphTarget(), RuntimeException caught!" );
}
Reference< XInterface > xRef;
@@ -1710,9 +1710,9 @@ void AnimationsExporter::prepare( Reference< XAnimationNode > xRootNode )
mpImpl->prepareNode( xRootNode );
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporter::prepare(), exception catched" );
+ OSL_FAIL( "xmloff::AnimationsExporter::prepare(), exception caught" );
}
}
@@ -1746,9 +1746,9 @@ void AnimationsExporter::exportAnimations( Reference< XAnimationNode > xRootNode
mpImpl->exportNode( xRootNode );
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsExporter::exportAnimations(), exception catched" );
+ OSL_FAIL( "xmloff::AnimationsExporter::exportAnimations(), exception caught" );
}
}
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 929d8ad2e186..408b4a87457d 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -394,9 +394,9 @@ Any AnimationsImportHelperImpl::convertTarget( const OUString& rValue )
}
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsImportImpl::convertTarget(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsImportImpl::convertTarget(), RuntimeException caught!" );
}
Any aAny;
@@ -738,9 +738,9 @@ AnimationNodeContext::AnimationNodeContext(
}
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationsImportImpl::AnimationsImportImpl(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationsImportImpl::AnimationsImportImpl(), RuntimeException caught!" );
}
}
@@ -1257,9 +1257,9 @@ void AnimationNodeContext::init_node( const ::com::sun::star::uno::Reference< :
xAnimate->setValues( mpHelper->convertValueSequence( meAttributeName, aValues ) );
}
}
- catch( RuntimeException& )
+ catch (const RuntimeException&)
{
- OSL_FAIL( "xmloff::AnimationNodeContext::StartElement(), RuntimeException catched!" );
+ OSL_FAIL( "xmloff::AnimationNodeContext::StartElement(), RuntimeException caught!" );
}
}
@@ -1444,7 +1444,7 @@ void AnimationNodeContext::postProcessRootNode( SvXMLImport& /*rImport*/, const
}
}
}
- catch( Exception& )
+ catch (const Exception&)
{
OSL_FAIL("xmloff::AnimationsImport::postProcessRootNode(), exception caught!");
}
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index 86ae42ce1290..977f2f9e78bd 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -302,9 +302,9 @@ void XMLAnimationsExporter::prepare( Reference< XShape > xShape, SvXMLExport& )
}
}
}
- catch(const Exception&)
+ catch (const Exception&)
{
- OSL_FAIL("exception catched while collection animation information!");
+ OSL_FAIL("exception caught while collection animation information!");
}
}
@@ -432,9 +432,9 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE
}
}
}
- catch(const Exception&)
+ catch (const Exception&)
{
- OSL_FAIL("exception catched while collection animation information!");
+ OSL_FAIL("exception caught while collection animation information!");
}
}
diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx
index 141101750a7b..32b44c34bda2 100644
--- a/xmloff/source/draw/animimp.cxx
+++ b/xmloff/source/draw/animimp.cxx
@@ -664,9 +664,9 @@ void XMLAnimationsEffectContext::EndElement()
}
}
}
- catch(const Exception&)
+ catch (const Exception&)
{
- OSL_FAIL( "exception catched while importing animation information!" );
+ OSL_FAIL( "exception caught while importing animation information!" );
}
}
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index f0b17972c5ec..79d0acc2b269 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -429,9 +429,9 @@ void SdXMLGenericPageContext::SetStyle( rtl::OUString& rStyleName )
}
}
}
- catch(const uno::Exception&)
+ catch (const uno::Exception&)
{
- OSL_FAIL( "SdXMLGenericPageContext::SetStyle(): uno::Exception catched!" );
+ OSL_FAIL( "SdXMLGenericPageContext::SetStyle(): uno::Exception caught!" );
}
}
}
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index 5903277bc4c1..7f13c1517302 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -1210,9 +1210,9 @@ void SvxXMLListStyleContext::FillUnoNumRule(
xPropSet->setPropertyValue( sIsContinuousNumbering, aAny );
}
}
- catch( Exception& )
+ catch (const Exception&)
{
- OSL_FAIL( "SvxXMLListStyleContext::FillUnoNumRule - Exception catched" );
+ OSL_FAIL( "SvxXMLListStyleContext::FillUnoNumRule - Exception caught" );
}
}
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index 70848c42124e..129edf6de188 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -2036,7 +2036,7 @@ XMLParaContext::~XMLParaContext()
xAttrCursor = xTxtImport->GetText()->createTextCursorByRange( xStart );
if( !xAttrCursor.is() )
return; // Robust (defect file)
- } catch (uno::Exception &) {
+ } catch (const uno::Exception &) {
// createTextCursorByRange() likes to throw runtime exception, even
// though it just means 'we were unable to create the cursor'
return;
@@ -2064,7 +2064,7 @@ XMLParaContext::~XMLParaContext()
}
OSL_ENSURE(!xEnum->hasMoreElements(), "xml:id: > 1 paragraph?");
}
- } catch (uno::Exception &) {
+ } catch (const uno::Exception &) {
OSL_TRACE("XMLParaContext::~XMLParaContext: exception");
}
}