diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py index 6005a04c860fd287769d12a8d0e59e87af2e75e4..41d6476c01162d0ab06e76f9c9e55dcc19349eaa 100644 --- a/product/ERP5OOo/Document/OOoDocument.py +++ b/product/ERP5OOo/Document/OOoDocument.py @@ -396,14 +396,6 @@ class OOoDocument(PermanentURLMixIn, BaseConvertableFileMixin, File, else: 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, '_populateConversionCacheWithHTML') def _populateConversionCacheWithHTML(self, zip_file=None):