From 1d26235c783f5d9965e8d2abfa561f97ae767414 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Thu, 10 Dec 2009 09:27:53 +0000
Subject: [PATCH] Correct wrong attribute name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31209 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/FormPrintout.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5OOo/FormPrintout.py b/product/ERP5OOo/FormPrintout.py
index b590d232e7..4af9869953 100644
--- a/product/ERP5OOo/FormPrintout.py
+++ b/product/ERP5OOo/FormPrintout.py
@@ -780,10 +780,10 @@ class ODFStrategy(Implicit):
     column.text = None
     for child in column:
       # clear data except style
-      style_value = child.attrib.get(self._name_attribute_name)
+      style_value = child.attrib.get(self._style_attribute_name)
       child.clear()
       if style_value:
-        child.set(self._name_attribute_name, style_value)
+        child.set(self._style_attribute_name, style_value)
 
   def _getColumnValueAttribute(self, column):
     attrib = column.attrib
-- 
2.30.9