diff options
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r-- | framework/source/accelerators/storageholder.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx index 285b771aee37..4f6b140e0427 100644 --- a/framework/source/accelerators/storageholder.cxx +++ b/framework/source/accelerators/storageholder.cxx @@ -181,9 +181,9 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl: { xChild = StorageHolder::openSubStorageWithFallback(xParent, sChild, nOpenMode, sal_True); // TODO think about delegating fallback decision to our own calli! } - catch(const css::uno::RuntimeException& exRun) - { throw exRun; } - catch(const css::uno::Exception& exAny) + catch(const css::uno::RuntimeException&) + { throw; } + catch(const css::uno::Exception&) { /* TODO URGENT! in case we found some "already existing storages" on the path before and increased its UseCount ... @@ -195,7 +195,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl: A flush method with the same unique number force increasing of the "UseCount" variable then inside a synchronized block ... */ - throw exAny; + throw; } // SAFE -> ------------------------------ |