coverity#706304 Uncaught exception
also coverity#706301 Change-Id: Ie6eba530c9a2f822226fbd1b1a6aa49deaf99659
This commit is contained in:
@@ -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<XCommandEnvironment>(), comphelper::getProcessComponentContext());
|
||||
|
||||
bool bMemoAlreadyExists = false;
|
||||
try
|
||||
{
|
||||
Content aMemo1Content(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext());
|
||||
bMemoAlreadyExists = aMemo1Content.isDocument();
|
||||
}
|
||||
catch(const Exception&) // an exception is thrown when no file exists
|
||||
|
Reference in New Issue
Block a user