summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/dp_persmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/dp_persmap.cxx')
-rw-r--r--desktop/source/deployment/dp_persmap.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/source/deployment/dp_persmap.cxx b/desktop/source/deployment/dp_persmap.cxx
index 7c505bbd75d2..9b794ad6b461 100644
--- a/desktop/source/deployment/dp_persmap.cxx
+++ b/desktop/source/deployment/dp_persmap.cxx
@@ -80,7 +80,8 @@ PersistentMap::~PersistentMap()
PersistentMap::PersistentMap( OUString const & url )
: m_db( 0 )
{
- try {
+ try
+ {
rtl::OUString fileURL = expandUnoRcUrl(url);
if ( File::getSystemPathFromFileURL( fileURL, m_sysPath ) != File::E_None )
OSL_ASSERT( false );
@@ -94,7 +95,8 @@ PersistentMap::PersistentMap( OUString const & url )
if (err != 0)
throw_rtexc(err);
}
- catch (DbException & exc) {
+ catch (const DbException & exc)
+ {
throw_rtexc( exc.get_errno(), exc.what() );
}
}