Fix traceback on windows in the OO/LO song importer.

This commit is contained in:
Tomas Groth 2015-08-28 11:22:06 +01:00
parent 585c319c8b
commit 0c24d3705b
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class OpenOfficeImport(SongImport):
"""
log.debug('create property OpenOffice')
if is_win():
property_object = self.controller.manager.Bridge_GetStruct('com.sun.star.beans.PropertyValue')
property_object = self.ooo_manager.Bridge_GetStruct('com.sun.star.beans.PropertyValue')
else:
property_object = PropertyValue()
property_object.Name = name