[Libreoffice-commits] core.git: lingucomponent/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 7 04:44:34 PDT 2014


 lingucomponent/source/languageguessing/guesslang.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit f31424e650c4f7d4a09a166377ee4890fd317292
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 7 13:44:03 2014 +0200

    Fix *_component_getFactory function type
    
    Change-Id: Ib86d37e1570c9a64ef83beaf11bf0ec4676533eb

diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx
index c778ff9..66f8b6d 100644
--- a/lingucomponent/source/languageguessing/guesslang.cxx
+++ b/lingucomponent/source/languageguessing/guesslang.cxx
@@ -31,7 +31,6 @@
 #include <simpleguesser.hxx>
 #include <guess.hxx>
 
-#include <com/sun/star/registry/XRegistryKey.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <com/sun/star/linguistic2/XLanguageGuessing.hpp>
 #include <unotools/pathoptions.hxx>
@@ -377,8 +376,8 @@ extern "C"
 {
 
 SAL_DLLPUBLIC_EXPORT void * SAL_CALL guesslang_component_getFactory(
-    sal_Char const * implName, lang::XMultiServiceFactory * xMgr,
-    registry::XRegistryKey * xRegistry )
+    sal_Char const * implName, void * xMgr,
+    void * xRegistry )
 {
     return ::cppu::component_getFactoryHelper(
         implName, xMgr, xRegistry, s_component_entries );


More information about the Libreoffice-commits mailing list