summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography
diff options
context:
space:
mode:
authorAndreas Becker <atayoohoo@googlemail.com>2011-04-28 00:59:28 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2011-04-28 13:45:46 +0200
commit9ad4eeb4fa413b1a3e084d141c6eb01795f95b7f (patch)
tree031b7ad30c650665210cb5b63d59efe740fd57d1 /extensions/source/bibliography
parent8a9f54bc1283b7137a90506e29dba7962dd73f83 (diff)
fixed cppcheck warnings
Diffstat (limited to 'extensions/source/bibliography')
-rw-r--r--extensions/source/bibliography/datman.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index b2698154fd03..265496506a90 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -118,14 +118,13 @@ Reference< XConnection > getConnection(const ::rtl::OUString& _rURL)
{
xDataSource = Reference< XDataSource > (Reference< XNamingService > (xNamingContext, UNO_QUERY)->getRegisteredObject(_rURL), UNO_QUERY);
}
- catch(Exception eEx)
+ catch(Exception &)
{
- (void) eEx; // make compiler happy
OSL_FAIL("Exception caught in ODatabaseContext::getRegisteredObject()");
}
}
// build the connection from the data source
- Reference< XConnection > xConn;
+ Reference< XConnection > xConn;
if (xDataSource.is())
{
// need user/pwd for this