Commit 1e524641 authored by Jean-Paul Smets's avatar Jean-Paul Smets

OOoDocument should use the standard base_data accessor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17609 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a9a8f524
......@@ -442,6 +442,14 @@ class OOoDocument(File, ConversionCacheMixin):
archive_file.close()
# Base format implementation
security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
def hasBaseData(self):
"""
OOo instances implement conversion to a base format. We should therefore
use the default accessor.
"""
return self.baseHasBaseData()
security.declarePrivate('_convertToBaseFormat')
def _convertToBaseFormat(self):
"""
......
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