Re: Patch for 9548

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Mon Sep 26 2005 - 20:12:14 CEST

My apologies, I missed that Martin has already made that change.

Tomas

Tomas Frydrych wrote:
> This is I think much cleaner and XP fix for 9548, which will work for
> all such cases, not just odt.
>
> Tomas
>
>
> ------------------------------------------------------------------------
>
> Index: ie_exp.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_exp.cpp,v
> retrieving revision 1.78
> diff -u -r1.78 ie_exp.cpp
> --- ie_exp.cpp 3 Apr 2004 17:39:54 -0000 1.78
> +++ ie_exp.cpp 26 Sep 2005 17:56:20 -0000
> @@ -316,13 +316,19 @@
> // Hm... an exporter has registered for the given suffix,
> // but refuses to support any file type we request.
> // Default to native format.
> - return IE_Exp::fileTypeForSuffix(".abw");
> +
> + // bug 9548
> + // return IE_Exp::fileTypeForSuffix(".abw");
> + return IEFT_Unknown;
> }
> }
>
> // No filter is registered for that extension, try native format
> // for default export.
> - return IE_Exp::fileTypeForSuffix(".abw");
> +
> + // bug 9548 -- returning type IEFT_Unknown causes Save to fail and brings up Save As dlg
> + // return IE_Exp::fileTypeForSuffix(".abw");
> + return IEFT_Unknown;
>
> }
>
>

                
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Received on Mon Sep 26 20:13:29 2005

This archive was generated by hypermail 2.1.8 : Mon Sep 26 2005 - 20:13:29 CEST