diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-02-01 22:52:43 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-01 22:52:43 +0100 |
commit | f25555d66c1c50f81a2694447e8b197eb6ac97f7 (patch) | |
tree | 49709e23d0fbb72092436b66912c501914e87485 /filter | |
parent | 34c5059b80777244e25dee1299ea258c8d7ba4fe (diff) |
Some cppcheck cleaning
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/basecontainer.cxx | 2 | ||||
-rw-r--r-- | filter/source/config/cache/filterfactory.cxx | 6 | ||||
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx index 7fa2faac3dcf..642c726ec06b 100644 --- a/filter/source/config/cache/basecontainer.cxx +++ b/filter/source/config/cache/basecontainer.cxx @@ -344,7 +344,7 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const ::rtl::OUString& sItem) } catch(const css::container::NoSuchElementException& exNotExist) { - throw exNotExist; + throw; } catch(const css::uno::Exception&) { diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index 4620b3e4b4f3..cbd1e7e56d54 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -415,7 +415,7 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize lResult.push_back(sName); } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) { continue; } } @@ -540,7 +540,7 @@ OUStringList FilterFactory::impl_getListOfInstalledModules() const return lModules; } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) {} @@ -634,7 +634,7 @@ OUStringList FilterFactory::impl_readSortedFilterListFromConfig(const ::rtl::OUS } } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) {} diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 7a5ec96d48bd..0a06025aef6e 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -966,7 +966,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript xSeek->seek(0); } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) {} } diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 326c56f6071f..2b9f19f08aaa 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7319,7 +7319,7 @@ void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell ) } } -void ApplyCellLineAttributes( const SdrObject* pLine, Reference< XTable >& xTable, const std::vector< sal_Int32 > vPositions, sal_Int32 nColumns ) +void ApplyCellLineAttributes( const SdrObject* pLine, Reference< XTable >& xTable, const std::vector< sal_Int32 >& vPositions, sal_Int32 nColumns ) { try { |