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();
|
OUString aExt = aURL.getExtension();
|
||||||
aURL.setExtension("dbt"); // extension for memo file
|
aURL.setExtension("dbt"); // extension for memo file
|
||||||
Content aMemo1Content(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext());
|
|
||||||
|
|
||||||
bool bMemoAlreadyExists = false;
|
bool bMemoAlreadyExists = false;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Content aMemo1Content(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>(), comphelper::getProcessComponentContext());
|
||||||
bMemoAlreadyExists = aMemo1Content.isDocument();
|
bMemoAlreadyExists = aMemo1Content.isDocument();
|
||||||
}
|
}
|
||||||
catch(const Exception&) // an exception is thrown when no file exists
|
catch(const Exception&) // an exception is thrown when no file exists
|
||||||
|
Reference in New Issue
Block a user