From aae502c4874aaed9f75dbbb836eca18b69271ee5 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Thu, 31 Jan 2008 11:16:33 +0000
Subject: [PATCH] - reverse x, y and width and height because it was not in
 correct order - remove actual_width and actual_height parameters because they
 were not   used/usefull

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18940 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ERP5Form/Extensions/ERP5Site_createModuleScribus.py   | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py b/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py
index b1621aacf6..d813c42cb0 100644
--- a/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py
+++ b/product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py
@@ -168,7 +168,7 @@ def ERP5Site_createModuleScribus(self,
           object_names,skin_folder,desired_height,desired_width,resolution,
           background_format)
       
-      page_height, page_width = image_size
+      page_width, page_height = image_size
       
       print "   height = " + str(page_height)
       print "   width = " + str(page_width)
@@ -206,7 +206,7 @@ def ERP5Site_createModuleScribus(self,
         width_groups,height_groups = ManageFiles.getPageattributes(
                                               global_properties,
                                               import_pdf_file)
-        properties_css_dict, properties_page, actual_width, actual_height = \
+        properties_css_dict, properties_page = \
             ManageCSS.setPageProperties( properties_css_dict,
                                          page_iterator,
                                          page_id,
@@ -235,9 +235,7 @@ def ERP5Site_createModuleScribus(self,
                                             page_iterator,
                                             page_gap,
                                             keep_page,
-                                            properties_page,
-                                            actual_width,
-                                            actual_height)
+                                            properties_page)
 
 
           # recover useful page_object attributes from scribus dict
-- 
2.30.9