fix syntactic error

This commit is contained in:
David Tardon 2011-12-16 06:53:23 +01:00
parent c57fcf8d88
commit 0e7ac37f00

View File

@ -225,10 +225,7 @@ class PropertySetHelper(object):
def showProperties(self):
sName = ""
if self.m_xPropertySet != None:
XServiceInfo xServiceInfo = (XServiceInfo)
UnoRuntime.queryInterface(XServiceInfo.class, self.m_xPropertySet)
if xServiceInfo != None:
sName = xServiceInfo.getImplementationName()
sName = self.m_xPropertySet.getImplementationName()
xInfo = self.m_xPropertySet.getPropertySetInfo()
aAllProperties = xInfo.getProperties()