Commit 5d7439ef authored by Nicolas Delaby's avatar Nicolas Delaby

remove duplicate code

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21874 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3e275ab
......@@ -165,9 +165,6 @@ class OOOdCommandTransform(commandtransform):
if self.ooo.isTargetFormatAllowed(format):
mime, data = self.ooo.convert(format)
if import_succeed and self.mimetype == 'text/html':
builder = OOoBuilder(data)
content = builder.extract('content.xml')
xml_doc = parseDoc(content)
data = self.includeImageList(data)
return data
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment