[PATCH] fdo#60265 Really fixes Basic problem

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Wed May 1 14:34:08 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3729

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/3729/1

fdo#60265 Really fixes Basic problem

GetFilterName function in FilesModul.xba needs the extension be repeated too
sLocExtensionList() = ArrayoutofString(sFilterName(i,2), "|", MaxIndex)

Change-Id: I2fecd5352345e6b7541d0a961012c7e91046fb0d
---
M wizards/source/importwizard/DialogModul.xba
1 file changed, 8 insertions(+), 8 deletions(-)



diff --git a/wizards/source/importwizard/DialogModul.xba b/wizards/source/importwizard/DialogModul.xba
index 92ca877..c1ec665 100644
--- a/wizards/source/importwizard/DialogModul.xba
+++ b/wizards/source/importwizard/DialogModul.xba
@@ -333,38 +333,38 @@
 ' See definition of Filtername-Array about meaning of fields
 	MSFilterName(0,0) = "doc|docx|docm"
 	MSFilterName(0,1) = "writer8|writer8|writer8"
-	MSFilterName(0,2) = "odt"
+	MSFilterName(0,2) = "odt|odt|odt"
 	MSFilterName(0,3) = sMSDocumentCheckBox(0)
 	MSFilterName(0,4) = "Word"
 	
 
 	MSFilterName(1,0) = "xls|xlsx|xlsm"
 	MSFilterName(1,1) = "calc8|calc8|calc8"
-	MSFilterName(1,2) = "ods"
+	MSFilterName(1,2) = "ods|ods|ods"
 	MSFilterName(1,3) = sMSDocumentCheckBox(1)
 	MSFilterName(1,4) = "Excel"
 
-	MSFilterName(2,0) = "ppt|pptm|pptx"
-	MSFilterName(2,1) = "impress8|impress8|impress8"
-	MSFilterName(2,2) = "odp"
+	MSFilterName(2,0) = "ppt|pps|pptx|pptm|ppsx|ppsm"
+	MSFilterName(2,1) = "impress8|impress8|impress8|impress8|impress8|impress8"
+	MSFilterName(2,2) = "odp|odp|odp|odp|odp|odp"
 	MSFilterName(2,3) = sMSDocumentCheckBox(2)
 	MSFilterName(2,4) = "PowerPoint"
 
 	MSFilterName(3,0) = "dot|dotx|dotm"
 	MSFilterName(3,1) = "writer8_template|writer8_template|writer8_template"
-	MSFilterName(3,2) = "ott"
+	MSFilterName(3,2) = "ott|ott|ott"
 	MSFilterName(3,3) = sMSTemplateCheckBox(0)
 	MSFilterName(3,4) = "Word"	
 	
 	MSFilterName(4,0) = "xlt|xltx|xltm"
 	MSFilterName(4,1) = "calc8_template|calc8_template|calc8_template"
-	MSFilterName(4,2) = "ots"
+	MSFilterName(4,2) = "ots|ots|ots"
 	MSFilterName(4,3) = sMSTemplateCheckBox(1)
 	MSFilterName(4,4) = "Excel"	
 
 	MSFilterName(5,0) = "pot|potx|potm"
 	MSFilterName(5,1) = "impress8_template|impress8_template|impress8_template"
-	MSFilterName(5,2) = "otp"
+	MSFilterName(5,2) = "otp|otp|otp|otp"
 	MSFilterName(5,3) = sMSTemplateCheckBox(2)
 	MSFilterName(5,4) = "PowerPoint"	
 End Sub

-- 
To view, visit https://gerrit.libreoffice.org/3729
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2fecd5352345e6b7541d0a961012c7e91046fb0d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list