[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - pyuno/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 7 06:51:20 PST 2014


 pyuno/source/loader/pythonloader.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fd60d3fb5885d8dd3f409894fc37a3e42b57eee0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 7 15:37:16 2014 +0100

    No serviceNames attribute in Loader
    
    Change-Id: I6cc001d18683fc412f0ec0b6a33054d6e745463f
    (cherry picked from commit 431b49fbec68c17c7a486ef0f577107d3dd27e55)
    Reviewed-on: https://gerrit.libreoffice.org/7293
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

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


More information about the Libreoffice-commits mailing list