summaryrefslogtreecommitdiff
path: root/filter/source/xsltdialog/xmlfiltertestdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/xsltdialog/xmlfiltertestdialog.cxx')
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index bffa4ba7d752..33b6b28a3569 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -132,7 +132,7 @@ static bool checkComponent( Reference< XComponent >& rxComponent, const OUString
}
}
}
- catch( Exception& )
+ catch( const Exception& )
{
OSL_FAIL( "checkComponent exception catched!" );
}
@@ -191,7 +191,7 @@ XMLFilterTestDialog::XMLFilterTestDialog( Window* pParent, ResMgr& rResMgr, cons
mxGlobalBroadcaster->addEventListener( mxGlobalEventListener );
}
}
- catch( Exception& )
+ catch( const Exception& )
{
OSL_FAIL( "XMLFilterTestDialog::XMLFilterTestDialog exception catched!" );
}
@@ -204,7 +204,7 @@ XMLFilterTestDialog::~XMLFilterTestDialog()
if( mxGlobalBroadcaster.is() )
mxGlobalBroadcaster->removeEventListener( mxGlobalEventListener );
}
- catch( Exception& )
+ catch( const Exception& )
{
OSL_FAIL( "XMLFilterTestDialog::~XMLFilterTestDialog exception catched!" );
}
@@ -449,7 +449,7 @@ void XMLFilterTestDialog::onExportBrowse()
}
}
}
- catch(Exception&)
+ catch(const Exception&)
{
OSL_FAIL("XMLFilterTestDialog::onExportBrowse exception caught!");
}
@@ -523,7 +523,7 @@ void XMLFilterTestDialog::doExport( Reference< XComponent > xComp )
xGrfResolver = Reference< XGraphicObjectResolver >::query( xDocFac->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.document.ExportGraphicObjectResolver" )) ) );
xObjectResolver = Reference< XEmbeddedObjectResolver >::query( xDocFac->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.document.ExportEmbeddedObjectResolver" )) ) );
}
- catch( Exception& )
+ catch( const Exception& )
{
}
}
@@ -556,7 +556,7 @@ void XMLFilterTestDialog::doExport( Reference< XComponent > xComp )
}
}
}
- catch( Exception& )
+ catch( const Exception& )
{
OSL_FAIL( "XMLFilterTestDialog::doExport exception catched!" );
}
@@ -689,7 +689,7 @@ void XMLFilterTestDialog::import( const OUString& rURL )
displayXMLFile( aTempFileURL );
}
}
- catch(Exception&)
+ catch(const Exception&)
{
OSL_FAIL("XMLFilterTestDialog::import catched an exception" );
}
@@ -769,7 +769,7 @@ Reference< XComponent > XMLFilterTestDialog::getFrontMostDocument( const OUStrin
}
}
}
- catch( Exception& )
+ catch( const Exception& )
{
OSL_FAIL( "XMLFilterTestDialog::getFrontMostDocument exception catched!" );
}