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-22 15:18:36 +0100
commit21b20398d2f087175f2096820e54317e06af59d8 (patch)
tree37bf46f6b3b691ebbfb1401831e1899a74b2b7f6 /wizards
parent8ab2c40f2000a7d8a8f5f230698f19babde8e523 (diff)
fix syntactic error
Signed-off-by: David Tardon <dtardon@redhat.com>
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()