filter/source/config/cache/typedetection.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 70049dbeb286cb0613526e1c3c0318d32a446e58
Author: Caolán McNamara <caol...@redhat.com>
Date:   Sun Oct 11 21:43:02 2015 +0100

    ignore orcus::sax::malformed_xml_error etc too
    
    e.g. kde323651-1.pptx etc
    
    Change-Id: I59319733902a0c1298094bc1541d763938334ad4

diff --git a/filter/source/config/cache/typedetection.cxx 
b/filter/source/config/cache/typedetection.cxx
index 0449a48..a637d08 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" .-)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to