diff options
author | David Tardon <dtardon@redhat.com> | 2011-12-16 06:53:23 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-12-16 06:53:23 +0100 |
commit | 0e7ac37f00ded5db953aed60ec67fafcfe28f21c (patch) | |
tree | e70d64c21c3e0fca6f23b49c2c810a276c054244 /wizards | |
parent | c57fcf8d8873638b8ea9eb33c527e03939aaf80a (diff) |
fix syntactic error
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/common/PropertySetHelper.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.py b/wizards/com/sun/star/wizards/common/PropertySetHelper.py index 8ce949ec344d..970e45384d51 100644 --- a/wizards/com/sun/star/wizards/common/PropertySetHelper.py +++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.py @@ -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() |