From 0e7ac37f00ded5db953aed60ec67fafcfe28f21c Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 16 Dec 2011 06:53:23 +0100 Subject: [PATCH] fix syntactic error --- wizards/com/sun/star/wizards/common/PropertySetHelper.py | 5 +---- 1 file changed, 1 insertion(+), 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()