summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 12:47:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-26 08:59:38 +0200
commit3f3181522bd5fa7cd32dc81c624ef260b29cfc9c (patch)
treee9510f8b18c09ea62d1a369eeaa6eaf7b3390cc0 /filter
parent979c8c56b7d52fe9a5d4b1fbfdab0adaba04c470 (diff)
s/catched/caught
Change-Id: I7ea6977a9749e86f8058b78cdb91cd2c62da8264 Reviewed-on: https://gerrit.libreoffice.org/39164 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/filterfactory.cxx2
-rw-r--r--filter/source/msfilter/escherex.cxx2
-rw-r--r--filter/source/xsltdialog/typedetectionexport.cxx6
-rw-r--r--filter/source/xsltdialog/typedetectionimport.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfilterjar.cxx6
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx24
-rw-r--r--filter/source/xsltdialog/xmlfiltertabdialog.cxx4
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx12
8 files changed, 29 insertions, 29 deletions
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index c5b180fa698a..be8750797f94 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -530,7 +530,7 @@ OUStringList FilterFactory::impl_readSortedFilterListFromConfig(const OUString&
try
{
css::uno::Reference< css::container::XNameAccess > xUISortConfig = officecfg::TypeDetection::UISort::ModuleDependendFilterOrder::get(xContext);
- // don't check the module name here. If it does not exists, an exception is thrown and catched below.
+ // don't check the module name here. If it does not exists, an exception is thrown and caught below.
// We return an empty list as result then.
css::uno::Reference< css::container::XNameAccess > xModule;
xUISortConfig->getByName(sModule) >>= xModule;
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 870e94373149..bf0450fe513b 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -2474,7 +2474,7 @@ void ConvertEnhancedCustomShapeEquation( SdrObjCustomShape* pCustoShape,
catch ( ... )
{
EnhancedCustomShapeEquation aEquation; // #i112309# EnhancedCustomShape::Parse error
- aEquation.nOperation = 0; // not catched on linux platform
+ aEquation.nOperation = 0; // not caught on linux platform
aEquation.nPara[ 0 ] = 1;
rEquations.push_back( aEquation );
}
diff --git a/filter/source/xsltdialog/typedetectionexport.cxx b/filter/source/xsltdialog/typedetectionexport.cxx
index 53446dad77bf..386f47509dcb 100644
--- a/filter/source/xsltdialog/typedetectionexport.cxx
+++ b/filter/source/xsltdialog/typedetectionexport.cxx
@@ -214,7 +214,7 @@ void TypeDetectionExporter::doExport( const Reference< XOutputStream >& xOS, co
}
catch( const Exception& )
{
- OSL_FAIL( "TypeDetectionExporter::doExport exception catched!" );
+ OSL_FAIL( "TypeDetectionExporter::doExport exception caught!" );
}
}
@@ -244,7 +244,7 @@ void TypeDetectionExporter::addProperty( const Reference< XWriter >& xHandler, c
}
catch( const Exception& )
{
- OSL_FAIL( "TypeDetectionExporter::addProperty exception catched!" );
+ OSL_FAIL( "TypeDetectionExporter::addProperty exception caught!" );
}
}
@@ -275,7 +275,7 @@ void TypeDetectionExporter::addLocaleProperty( const Reference< XWriter >& xHand
}
catch( const Exception& )
{
- OSL_FAIL( "TypeDetectionExporter::addLocaleProperty exception catched!" );
+ OSL_FAIL( "TypeDetectionExporter::addLocaleProperty exception caught!" );
}
}
diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx
index c9eee6cb012a..4cdd05cc9b91 100644
--- a/filter/source/xsltdialog/typedetectionimport.cxx
+++ b/filter/source/xsltdialog/typedetectionimport.cxx
@@ -62,7 +62,7 @@ void TypeDetectionImporter::doImport( const Reference< XComponentContext >& rxCo
}
catch( const Exception& /* e */ )
{
- OSL_FAIL( "TypeDetectionImporter::doImport exception catched!" );
+ OSL_FAIL( "TypeDetectionImporter::doImport exception caught!" );
}
}
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx
index 84ca45e96aef..c9aec0b31584 100644
--- a/filter/source/xsltdialog/xmlfilterjar.cxx
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx
@@ -224,7 +224,7 @@ bool XMLFilterJarHelper::savePackage( const OUString& rPackageURL, const XMLFilt
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterJarHelper::savePackage exception catched!" );
+ OSL_FAIL( "XMLFilterJarHelper::savePackage exception caught!" );
}
osl::File::remove( rPackageURL );
@@ -294,7 +294,7 @@ void XMLFilterJarHelper::openPackage( const OUString& rPackageURL, XMLFilterVect
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterJarHelper::savePackage exception catched!" );
+ OSL_FAIL( "XMLFilterJarHelper::savePackage exception caught!" );
}
}
@@ -365,7 +365,7 @@ bool XMLFilterJarHelper::copyFile( const Reference< XHierarchicalNameAccess >& x
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterJarHelper::copyFile exception catched" );
+ OSL_FAIL( "XMLFilterJarHelper::copyFile exception caught" );
}
return false;
}
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index f1da2804e979..06c80142a184 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -134,7 +134,7 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog(vcl::Window* pParent,
}
catch(const Exception&)
{
- OSL_FAIL( "XMLFilterSettingsDialog::XMLFilterSettingsDialog exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::XMLFilterSettingsDialog exception caught!" );
}
}
@@ -427,7 +427,7 @@ OUString XMLFilterSettingsDialog::createUniqueInterfaceName( const OUString& rIn
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::createUniqueInterfaceName exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::createUniqueInterfaceName exception caught!" );
}
OUString aInterfaceName( rInterfaceName );
@@ -469,7 +469,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
}
@@ -590,7 +590,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
}
@@ -648,7 +648,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
}
@@ -663,7 +663,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
}
@@ -677,7 +677,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
}
@@ -693,7 +693,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
bOk = false;
}
@@ -706,7 +706,7 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::insertOrEdit exception caught!" );
}
}
@@ -876,7 +876,7 @@ void XMLFilterSettingsDialog::onDelete()
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::onDelete exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::onDelete exception caught!" );
}
}
}
@@ -1204,7 +1204,7 @@ void XMLFilterSettingsDialog::initFilterList()
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterSettingsDialog::initFilterList exception catched!" );
+ OSL_FAIL( "XMLFilterSettingsDialog::initFilterList exception caught!" );
}
}
@@ -1656,7 +1656,7 @@ bool copyStreams( const Reference< XInputStream >& xIS, const Reference< XOutput
}
catch(const Exception&)
{
- OSL_FAIL( "copyStreams() exception catched!" );
+ OSL_FAIL( "copyStreams() exception caught!" );
}
return false;
diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.cxx b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
index e3d5e9bcad94..7da2fdee4bbd 100644
--- a/filter/source/xsltdialog/xmlfiltertabdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
@@ -126,7 +126,7 @@ bool XMLFilterTabDialog::onOk()
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTabDialog::onOk exception catched!" );
+ OSL_FAIL( "XMLFilterTabDialog::onOk exception caught!" );
}
}
}
@@ -184,7 +184,7 @@ bool XMLFilterTabDialog::onOk()
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTabDialog::onOk exception catched!" );
+ OSL_FAIL( "XMLFilterTabDialog::onOk exception caught!" );
}
}
}
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 66daa63b3778..23348fdd68b4 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -124,7 +124,7 @@ static bool checkComponent( Reference< XComponent >& rxComponent, const OUString
}
catch( const Exception& )
{
- OSL_FAIL( "checkComponent exception catched!" );
+ OSL_FAIL( "checkComponent exception caught!" );
}
return false;
@@ -169,7 +169,7 @@ XMLFilterTestDialog::XMLFilterTestDialog(vcl::Window* pParent,
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTestDialog::XMLFilterTestDialog exception catched!" );
+ OSL_FAIL( "XMLFilterTestDialog::XMLFilterTestDialog exception caught!" );
}
}
@@ -187,7 +187,7 @@ void XMLFilterTestDialog::dispose()
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTestDialog::~XMLFilterTestDialog exception catched!" );
+ OSL_FAIL( "XMLFilterTestDialog::~XMLFilterTestDialog exception caught!" );
}
delete m_pFilterInfo;
@@ -526,7 +526,7 @@ void XMLFilterTestDialog::doExport( const Reference< XComponent >& xComp )
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTestDialog::doExport exception catched!" );
+ OSL_FAIL( "XMLFilterTestDialog::doExport exception caught!" );
}
}
@@ -641,7 +641,7 @@ void XMLFilterTestDialog::import( const OUString& rURL )
}
catch(const Exception&)
{
- OSL_FAIL("XMLFilterTestDialog::import catched an exception" );
+ OSL_FAIL("XMLFilterTestDialog::import caught an exception" );
}
}
@@ -716,7 +716,7 @@ Reference< XComponent > XMLFilterTestDialog::getFrontMostDocument( const OUStrin
}
catch( const Exception& )
{
- OSL_FAIL( "XMLFilterTestDialog::getFrontMostDocument exception catched!" );
+ OSL_FAIL( "XMLFilterTestDialog::getFrontMostDocument exception caught!" );
}
return xRet;