Commit 0f2d890b authored by Ivan Tyagov's avatar Ivan Tyagov

Moved to legacy ITextConvertable interface & implementation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37047 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 90dc2b7d
...@@ -396,14 +396,6 @@ class OOoDocument(PermanentURLMixIn, BaseConvertableFileMixin, File, ...@@ -396,14 +396,6 @@ class OOoDocument(PermanentURLMixIn, BaseConvertableFileMixin, File,
else: else:
return self.getConversion(format=original_format, display=display) return self.getConversion(format=original_format, display=display)
security.declareProtected(Permissions.AccessContentsInformation,
'asTextContent')
def asTextContent(self):
"""
Backward compatibility
"""
return self.asText()
security.declareProtected(Permissions.ModifyPortalContent, security.declareProtected(Permissions.ModifyPortalContent,
'_populateConversionCacheWithHTML') '_populateConversionCacheWithHTML')
def _populateConversionCacheWithHTML(self, zip_file=None): def _populateConversionCacheWithHTML(self, zip_file=None):
......
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