From 1beabeb55c3c1898788a724d798ceb380cf96ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 13 Jun 2014 13:27:23 +0100 Subject: [PATCH] coverity#706304 Uncaught exception also coverity#706301 Change-Id: Ie6eba530c9a2f822226fbd1b1a6aa49deaf99659 --- connectivity/source/drivers/dbase/DTable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 937a3a1cb718..7294970deb51 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1071,11 +1071,11 @@ bool ODbaseTable::CreateImpl() { OUString aExt = aURL.getExtension(); aURL.setExtension("dbt"); // extension for memo file - Content aMemo1Content(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference(), comphelper::getProcessComponentContext()); bool bMemoAlreadyExists = false; try { + Content aMemo1Content(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference(), comphelper::getProcessComponentContext()); bMemoAlreadyExists = aMemo1Content.isDocument(); } catch(const Exception&) // an exception is thrown when no file exists