do not overrie build-ins

This commit is contained in:
Andreas Preikschat 2013-04-20 11:02:45 +02:00
parent a2fddbb57c
commit 465fc7bff1
1 changed files with 5 additions and 5 deletions

View File

@ -295,12 +295,12 @@ class ImpressDocument(PresentationDocument):
"""
log.debug(u'create property OpenOffice')
if os.name == u'nt':
property = self.controller.manager.Bridge_GetStruct(u'com.sun.star.beans.PropertyValue')
property_object = self.controller.manager.Bridge_GetStruct(u'com.sun.star.beans.PropertyValue')
else:
property = PropertyValue()
property.Name = name
property.Value = value
return property
property_object = PropertyValue()
property_object.Name = name
property_object.Value = value
return property_object
def close_presentation(self):
"""