diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index 3074d0f628a9..1d1b7de22652 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -157,7 +157,7 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): return g_implementationName def supportsService( self, ServiceName ): - return ServiceName in self.serviceNames + return ServiceName in self.getSupportedServiceNames() def getSupportedServiceNames( self ): return g_supportedServices