forked from openlp/openlp
do not overrie build-ins
This commit is contained in:
parent
a2fddbb57c
commit
465fc7bff1
@ -295,12 +295,12 @@ class ImpressDocument(PresentationDocument):
|
|||||||
"""
|
"""
|
||||||
log.debug(u'create property OpenOffice')
|
log.debug(u'create property OpenOffice')
|
||||||
if os.name == u'nt':
|
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:
|
else:
|
||||||
property = PropertyValue()
|
property_object = PropertyValue()
|
||||||
property.Name = name
|
property_object.Name = name
|
||||||
property.Value = value
|
property_object.Value = value
|
||||||
return property
|
return property_object
|
||||||
|
|
||||||
def close_presentation(self):
|
def close_presentation(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user