diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-08-20 15:48:37 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-08-20 15:57:19 +0200 |
commit | c53d6326aaa2bb2721818671034f4df68923b11c (patch) | |
tree | 29bd5c0ed1637321eaa1f9bc2d341105f37d5b50 /sw/source/ui | |
parent | 6ea3aa6aae980156529d007a107373bbd37dcee6 (diff) |
Revert "Ugly workaround for historic sxw files..."
There is cleaner, scriptable and out-of-source-tree workaround available at:
http://fridrich.blogspot.ch/2013/08/service-announcement-openning-of-sxw.html
This reverts commit 36c64c875f5819bf5ada2bb657c490441bc24644.
Change-Id: I37362e996ff1c73bcc88d1037defd07d7bab90af
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/uno/swdetect.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx index 61007216fc9f..21f954a081af 100644 --- a/sw/source/ui/uno/swdetect.cxx +++ b/sw/source/ui/uno/swdetect.cxx @@ -240,11 +240,7 @@ OUString SAL_CALL SwFilterDetect::detect( Sequence< PropertyValue >& lDescriptor } catch (const WrappedTargetException& aWrap) { - /* Cater for non-compliant sxw files created once upon a time by old libwpd/wpd2sxw combo - Don't bail-out early if the document is considered as corrupted. This allows us not to - reach the -- apparently -- catch-all SmFilterDetect::detect. - */ - if (!bDeepDetection && aTypeName != "writer_StarOffice_XML_Writer") + if (!bDeepDetection) // Bail out early unless it's a deep detection. return OUString(); |