Blob Blame History Raw
From ac3c6de70409ab3a14d92a0644c29323e47605bf Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
Date: Tue, 7 Jan 2014 15:37:16 +0100
Subject: [PATCH 109/109] No serviceNames attribute in Loader

Change-Id: I6cc001d18683fc412f0ec0b6a33054d6e745463f
(cherry picked from commit 431b49fbec68c17c7a486ef0f577107d3dd27e55)
Reviewed-on: https://gerrit.libreoffice.org/7294
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
---
 pyuno/source/loader/pythonloader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py
index 3074d0f..1d1b7de 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
-- 
1.8.4.2