diff options
-rw-r--r-- | desktop/source/deployment/registry/dp_backend.cxx | 2 | ||||
-rw-r--r-- | extensions/source/ole/oleobjw.cxx | 2 | ||||
-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 | ||||
-rw-r--r-- | framework/source/services/modulemanager.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/notify/eventsupplier.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 4 |
9 files changed, 12 insertions, 14 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index cbb1bec2a7f6..f25c8a8f0bec 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -309,7 +309,7 @@ void PackageRegistryBackend::deleteUnusedFolders( //In case the folder containing all the data folder does not //exist yet, we ignore the exception if (e.Code != ucb::IOErrorCode_NOT_EXISTING) - throw e; + throw; } } diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 9d203c89cd94..de7abc0f0c31 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -2171,8 +2171,6 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, BasicErrorException aBasicErrExp(message, Reference<XInterface>(), nErrorCode, message); throw InvocationTargetException(message, Reference<XInterface>(), makeAny(aBasicErrExp)); // End add - - break; } case DISP_E_MEMBERNOTFOUND: message = OUSTR("[automation bridge]: A function with the name \"") 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 { diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx index 4cec298b95ac..9ae3cfd5f110 100644 --- a/framework/source/services/modulemanager.cxx +++ b/framework/source/services/modulemanager.cxx @@ -378,7 +378,7 @@ css::uno::Reference< css::container::XNameAccess > ModuleManager::implts_getConf ::comphelper::ConfigurationHelper::E_READONLY); } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) { xCfg.clear(); } diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index e8d369374221..c5a6d6b1d6ac 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -811,7 +811,7 @@ void SfxGlobalEvents_Impl::implts_notifyJobExecution(const css::document::EventO xJobExecutor->notifyEvent(aEvent); } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) {} } @@ -833,7 +833,7 @@ void SfxGlobalEvents_Impl::implts_checkAndExecuteEventBindings(const css::docume Execute(aAny, aEvent, 0); } catch(const css::uno::RuntimeException& exRun) - { throw exRun; } + { throw; } catch(const css::uno::Exception&) {} } diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index e2b408f0608f..1f5d49dafaae 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -281,7 +281,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject() } catch ( const uno::RuntimeException& e ) { - throw e; + throw; } catch ( uno::Exception& ) { @@ -311,7 +311,7 @@ void SAL_CALL SfxInPlaceClient_Impl::saveObject() } catch ( const uno::RuntimeException& e ) { - throw e; + throw; } catch ( uno::Exception& ) { |