[Libreoffice-commits] core.git: filter/source

Michael Stahl mstahl at redhat.com
Mon Nov 11 09:19:50 PST 2013


 filter/source/config/fragments/types/draw_Freehand_Document.xcu |    2 +-
 filter/source/config/fragments/types/writer_MacWrite.xcu        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 40a465add55251d4719f8241232cd001fa0d3420
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Nov 11 13:09:34 2013 +0100

    filter config: fix MIME types for MacWrite and FreeHand
    
    The type "application/macwrite" does not appear to exist, but
    "application/macwriteii" is officially registered at IANA:
    https://www.iana.org/assignments/media-types/application/macwriteii
    
    For Freehand the "application/x-freehand" has just 6 hits on Google
    whereas Adobe recommends "image/x-freehand" on
    https://www.adobe.com/support/config.html
    
    Change-Id: I36d498888601778b1359ff58ee60b25af436a74e
    Reviewed-on: https://gerrit.libreoffice.org/6639
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/filter/source/config/fragments/types/draw_Freehand_Document.xcu b/filter/source/config/fragments/types/draw_Freehand_Document.xcu
index 1cc887e..4430854 100644
--- a/filter/source/config/fragments/types/draw_Freehand_Document.xcu
+++ b/filter/source/config/fragments/types/draw_Freehand_Document.xcu
@@ -2,7 +2,7 @@
             <prop oor:name="DetectService"><value>com.sun.star.comp.Draw.FreehandImportFilter</value></prop>
             <prop oor:name="URLPattern"/>
             <prop oor:name="Extensions"><value>fh fh1 fh2 fh3 fh4 fh5 fh6 fh7 fh8 fh9 fh10 fh11</value></prop>
-            <prop oor:name="MediaType"><value>application/x-freehand</value></prop>
+            <prop oor:name="MediaType"><value>image/x-freehand</value></prop>
             <prop oor:name="Preferred"><value>true</value></prop>
             <prop oor:name="PreferredFilter"><value>Freehand Document</value></prop>
             <prop oor:name="UIName">
diff --git a/filter/source/config/fragments/types/writer_MacWrite.xcu b/filter/source/config/fragments/types/writer_MacWrite.xcu
index fa1882b..9be82f1 100644
--- a/filter/source/config/fragments/types/writer_MacWrite.xcu
+++ b/filter/source/config/fragments/types/writer_MacWrite.xcu
@@ -19,7 +19,7 @@
         <prop oor:name="DetectService"><value>com.sun.star.comp.Writer.MWAWImportFilter</value></prop>
         <prop oor:name="URLPattern"/>
         <prop oor:name="Extensions"><value>mw mcw</value></prop>
-        <prop oor:name="MediaType"><value>application/macwrite</value></prop>
+        <prop oor:name="MediaType"><value>application/macwriteii</value></prop>
         <prop oor:name="Preferred"><value>true</value></prop>
         <prop oor:name="PreferredFilter"><value>MacWrite</value></prop>
         <prop oor:name="UIName">


More information about the Libreoffice-commits mailing list