[Libreoffice-commits] .: Branch 'libreoffice-3-3' - filter/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Mon Mar 7 08:03:31 PST 2011
filter/source/config/fragments/types/MS_Excel_2007_XML.xcu | 2 +-
filter/source/config/fragments/types/calc_OOXML.xcu | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2ba830b380e7261626f4e59a1271a3f3ef2b7508
Author: Noel Power <noel.power at novell.com>
Date: Wed Mar 2 20:31:07 2011 +0000
resolves #fdo34941
ensure a valid mediatype is set up for the ooxml filters so that ooo::vba::isAlienExcelDoc can give the correct result
diff --git a/filter/source/config/fragments/types/MS_Excel_2007_XML.xcu b/filter/source/config/fragments/types/MS_Excel_2007_XML.xcu
index ab9e409..7216db8 100644
--- a/filter/source/config/fragments/types/MS_Excel_2007_XML.xcu
+++ b/filter/source/config/fragments/types/MS_Excel_2007_XML.xcu
@@ -2,7 +2,7 @@
<prop oor:name="DetectService"><value>com.sun.star.comp.oox.FormatDetector</value></prop>
<prop oor:name="URLPattern"/>
<prop oor:name="Extensions"><value>xlsx xlsm</value></prop>
- <prop oor:name="MediaType"/>
+ <prop oor:name="MediaType"><value>application/vnd.ms-excel</value></prop>
<prop oor:name="Preferred"><value>false</value></prop>
<prop oor:name="PreferredFilter"><value>Calc MS Excel 2007 XML</value></prop>
<prop oor:name="UIName"><value xml:lang="x-default">Microsoft Excel 2007 XML</value></prop>
diff --git a/filter/source/config/fragments/types/calc_OOXML.xcu b/filter/source/config/fragments/types/calc_OOXML.xcu
index 40fd3ee..016d322 100644
--- a/filter/source/config/fragments/types/calc_OOXML.xcu
+++ b/filter/source/config/fragments/types/calc_OOXML.xcu
@@ -2,7 +2,7 @@
<prop oor:name="DetectService"><value>com.sun.star.comp.oox.FormatDetector</value></prop>
<prop oor:name="URLPattern"/>
<prop oor:name="Extensions"><value>xlsx xlsm</value></prop>
- <prop oor:name="MediaType"/>
+ <prop oor:name="MediaType"><value>application/vnd.ms-excel</value></prop>
<prop oor:name="Preferred"><value>false</value></prop>
<prop oor:name="PreferredFilter"><value>Calc Office Open XML</value></prop>
<prop oor:name="UIName"><value xml:lang="x-default">Office Open XML Spreadsheet</value></prop>
More information about the Libreoffice-commits
mailing list