summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/component/dp_compbackenddb.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-06 00:19:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-06 00:20:08 +0900
commit877da827a7aab5a7fb6bc3f84c2d5a48cac381ff (patch)
tree1e7ffcfc4020227cd1662cffb8ad894e3398e5a2 /desktop/source/deployment/registry/component/dp_compbackenddb.cxx
parentac9f72d9627f979f1e4bd0490578aba1ede577d4 (diff)
catch exception by constant reference
Diffstat (limited to 'desktop/source/deployment/registry/component/dp_compbackenddb.cxx')
-rw-r--r--desktop/source/deployment/registry/component/dp_compbackenddb.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/component/dp_compbackenddb.cxx b/desktop/source/deployment/registry/component/dp_compbackenddb.cxx
index e8137ba93a5a..2ce1ebc1937f 100644
--- a/desktop/source/deployment/registry/component/dp_compbackenddb.cxx
+++ b/desktop/source/deployment/registry/component/dp_compbackenddb.cxx
@@ -105,7 +105,7 @@ void ComponentBackendDb::addEntry(::rtl::OUString const & url, Data const & data
save();
}
}
- catch(css::uno::Exception &)
+ catch(const css::uno::Exception &)
{
Any exc( ::cppu::getCaughtException() );
throw css::deployment::DeploymentException(
@@ -142,7 +142,7 @@ ComponentBackendDb::Data ComponentBackendDb::getEntry(::rtl::OUString const & ur
}
return retData;
}
- catch(css::uno::Exception &)
+ catch(const css::uno::Exception &)
{
Any exc( ::cppu::getCaughtException() );
throw css::deployment::DeploymentException(