diff options
-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() |