diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-23 20:47:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-23 20:47:57 +0000 |
commit | 907ba5e528225ea62404ab49e13821da4687f1d8 (patch) | |
tree | 4b52e6199ef3dc3ca0a488387ebc855391af491c /desktop/source/deployment/dp_persmap.cxx | |
parent | 1dbdcee43f64e2fd00d7dbeaca862bafbbbd6332 (diff) |
match DB_ENV creation flags to DB creation flags
Diffstat (limited to 'desktop/source/deployment/dp_persmap.cxx')
-rw-r--r-- | desktop/source/deployment/dp_persmap.cxx | 6 |
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() ); } } |