summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-09-19 14:51:24 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-09-21 11:59:23 +0000
commit7a4edfbc4bce290e4e26f55728f670bf24423151 (patch)
tree8e3c0e039a0aa2bcd522930e65ede63532328e87
parentf30206f63dcf6fe41a216a3d708dfd05cc2b83a9 (diff)
tdf#92934: Web Wizard: Cannot Export Zip archive
pubAware_ adds 2 elements for each of these: LOCAL_PUBLISHER, ZIP_PUBLISHER, FTP_PUBLISHER and since ZIP_PUBLISHER is added in second positon, the right index is 2 not 4 Change-Id: I0a533fd0cefcbbfca0e95628f64fac6258019600 Reviewed-on: https://gerrit.libreoffice.org/18715 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit e72a4a3c2e1608e301daef0b6e87cc70d814e736) Reviewed-on: https://gerrit.libreoffice.org/18717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--wizards/com/sun/star/wizards/web/WWD_Events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py b/wizards/com/sun/star/wizards/web/WWD_Events.py
index 4f2208c6e39b..42b4184bc6bd 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -459,7 +459,7 @@ class WWD_Events(WWD_Startup):
zipFile = sd.callStoreDialog(
self.settings.cp_DefaultSession.cp_OutDirectory,
self.resources.resDefaultArchiveFilename)
- self.setPublishUrl(ZIP_PUBLISHER, zipFile, 4)
+ self.setPublishUrl(ZIP_PUBLISHER, zipFile, 2)
self.getPublisher(ZIP_PUBLISHER).overwriteApproved = True
'''