Kaydet (Commit) 0e7ac37f authored tarafından David Tardon's avatar David Tardon

fix syntactic error

üst c57fcf8d
...@@ -225,10 +225,7 @@ class PropertySetHelper(object): ...@@ -225,10 +225,7 @@ class PropertySetHelper(object):
def showProperties(self): def showProperties(self):
sName = "" sName = ""
if self.m_xPropertySet != None: if self.m_xPropertySet != None:
XServiceInfo xServiceInfo = (XServiceInfo) sName = self.m_xPropertySet.getImplementationName()
UnoRuntime.queryInterface(XServiceInfo.class, self.m_xPropertySet)
if xServiceInfo != None:
sName = xServiceInfo.getImplementationName()
xInfo = self.m_xPropertySet.getPropertySetInfo() xInfo = self.m_xPropertySet.getPropertySetInfo()
aAllProperties = xInfo.getProperties() aAllProperties = xInfo.getProperties()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment