Kaydet (Commit) c53d6326 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

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 36c64c87.

Change-Id: I37362e996ff1c73bcc88d1037defd07d7bab90af
üst 6ea3aa6a
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment