summaryrefslogtreecommitdiff
path: root/framework/source/accelerators
diff options
context:
space:
mode:
authorPKEuS <philipp.kloke@web.de>2012-02-05 11:53:47 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-02-05 14:29:54 +0100
commitba5a460bc15393cc64522f288b7b2b678d6fcc99 (patch)
treea4a322e415f301aa5d253f6578983d7ca5cbce72 /framework/source/accelerators
parent32fa7e9208b2053d2ff7743b88b0c0edacb8a7e7 (diff)
Fixed cppcheck messages about rethrowing copy of exception.
Diffstat (limited to 'framework/source/accelerators')
-rw-r--r--framework/source/accelerators/storageholder.cxx8
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 -> ------------------------------