summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 17:19:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:25:02 +0100
commitf5537d6c5eb28ea6cb1271d9f80bbf69d46e8fdd (patch)
tree462c08b779f40ee0ee928b9370dcf8d51c51d2e7
parent67941bd098dc8080c3381cf91aec12492656817e (diff)
coverity#1308457 Uncaught exception
Change-Id: I922748783f3507268dfb713c6366ea20ff5e9a41
-rw-r--r--svx/source/xml/xmlxtimp.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 9d2e68b69349..3bdc6ac24ed5 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -445,13 +445,11 @@ bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer,
if( pGraphicHelper )
SvXMLGraphicHelper::Destroy( pGraphicHelper );
}
- catch (const uno::Exception&)
+ catch (...)
{
// thrown each time you load a document with property tables that are not
// on the current machine. FIXME: would be better to check a file exists
// before importing ...
-// fprintf (stderr, "parsing etc. exception '%s'\n",
-// OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr());
bRet = false;
}