summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-09-19 14:51:24 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-09-19 14:05:32 +0000
commite72a4a3c2e1608e301daef0b6e87cc70d814e736 (patch)
treee78e5d2fbfb8f6cb0819724bc9ade14b409ef847
parent28fb7c92b4a471a754cb0a567e693eab91726d34 (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>
-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 eaca38d7acd6..c5dc75e8566b 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
'''