summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-12-16 06:53:23 +0100
committerDavid Tardon <dtardon@redhat.com>2011-12-16 06:53:23 +0100
commit0e7ac37f00ded5db953aed60ec67fafcfe28f21c (patch)
treee70d64c21c3e0fca6f23b49c2c810a276c054244 /wizards
parentc57fcf8d8873638b8ea9eb33c527e03939aaf80a (diff)
fix syntactic error
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/PropertySetHelper.py5
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()