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

Stephan Bergmann sbergman at redhat.com
Tue Jan 7 10:34:14 PST 2014


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

New commits:
commit ac3c6de70409ab3a14d92a0644c29323e47605bf
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/7294
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl 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