summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorosnola <alonso@loria.fr>2017-04-02 09:56:42 +0200
committerDavid Tardon <dtardon@redhat.com>2017-04-02 13:42:20 +0200
commit0e261a6908c2521a9967069095239eeb02810b8c (patch)
tree4387c0ecbaf242aa0bca52b4cdefcdfe49573d73
parent8988c925ce07395478fbbb10d25fd6c0a10fead5 (diff)
libmwaw import filter improvements
+ correct a small mistake + add pot the file extension (the file extension for PowerPoint 95 template) Change-Id: I4ad18088ccb9777e1b34f393effbe2d24468804e
-rw-r--r--filter/source/config/fragments/filters/PowerPoint3.xcu2
-rw-r--r--filter/source/config/fragments/types/impress_PowerPoint3.xcu2
-rw-r--r--writerperfect/source/impress/MWAWPresentationImportFilter.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/config/fragments/filters/PowerPoint3.xcu b/filter/source/config/fragments/filters/PowerPoint3.xcu
index d61a360d4eb0..d1d19e6d2845 100644
--- a/filter/source/config/fragments/filters/PowerPoint3.xcu
+++ b/filter/source/config/fragments/filters/PowerPoint3.xcu
@@ -14,7 +14,7 @@
<value>com.sun.star.comp.Impress.MWAWPresentationImportFilter</value>
</prop>
<prop oor:name="UIName">
- <value xml:lang="en-US">Microsoft PowerPoint 1-4</value>
+ <value xml:lang="en-US">Microsoft PowerPoint 1-4 and 95's</value>
</prop>
<prop oor:name="FileFormatVersion">
<value>0</value>
diff --git a/filter/source/config/fragments/types/impress_PowerPoint3.xcu b/filter/source/config/fragments/types/impress_PowerPoint3.xcu
index 45cbb2855c2f..4c6885943b76 100644
--- a/filter/source/config/fragments/types/impress_PowerPoint3.xcu
+++ b/filter/source/config/fragments/types/impress_PowerPoint3.xcu
@@ -11,7 +11,7 @@
<value>com.sun.star.comp.Impress.MWAWPresentationImportFilter</value>
</prop>
<prop oor:name="Extensions">
- <value>ppt</value>
+ <value>ppt pot</value>
</prop>
<prop oor:name="PreferredFilter">
<value>PowerPoint 3</value>
diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx
index 3b77605a2c6e..a1b2d7f06145 100644
--- a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx
+++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx
@@ -58,7 +58,7 @@ bool MWAWPresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream &r
case MWAWDocument::MWAW_T_CLARISWORKS:
rTypeName = "impress_ClarisWorks";
break;
- case MWAWDocument::MWAW_T_RESERVED9:
+ case MWAWDocument::MWAW_T_RESERVED8:
rTypeName = "impress_PowerPoint3";
break;
default: