diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-11 21:43:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-11 21:43:18 +0100 |
commit | 70049dbeb286cb0613526e1c3c0318d32a446e58 (patch) | |
tree | e8a391aac508b2dcdb56113c9cb5663b25368234 /filter | |
parent | fix crash on examining ooo55043-1.odt etc (diff) | |
download | core-70049dbeb286cb0613526e1c3c0318d32a446e58.tar.gz core-70049dbeb286cb0613526e1c3c0318d32a446e58.zip |
ignore orcus::sax::malformed_xml_error etc too
e.g. kde323651-1.pptx etc
Change-Id: I59319733902a0c1298094bc1541d763938334ad4
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 0449a488d3cd..a637d0890f54 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -1040,14 +1040,14 @@ OUString TypeDetection::impl_askDetectService(const OUString& sDet sDeepType = xDetector->detect(lDescriptor); rDescriptor << lDescriptor; } - catch(const css::uno::Exception&) - { - // We should ignore errors here. - // Thrown exceptions mostly will end in crash recovery ... - // But might be we find another deep detection service which can detect the same - // document without a problem .-) - sDeepType.clear(); - } + catch (...) + { + // We should ignore errors here. + // Thrown exceptions mostly will end in crash recovery ... + // But might be we find another deep detection service which can detect the same + // document without a problem .-) + sDeepType.clear(); + } // seek to 0 is an optional feature to be more robust against // "simple implemented detect services" .-) |