[Libreoffice-commits] core.git: lingucomponent/source
Stephan Bergmann
sbergman at redhat.com
Mon Apr 14 12:54:54 PDT 2014
lingucomponent/source/spellcheck/macosxspell/macreg.mm | 15 +----------
lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 3 ++
2 files changed, 5 insertions(+), 13 deletions(-)
New commits:
commit 981590d1cf89bb07864ec62bfebdc03c61bd475b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Apr 14 21:54:23 2014 +0200
Clean up function declarations
Change-Id: Ic00323f1c22f9b3642758dc21b65a2413624515e
diff --git a/lingucomponent/source/spellcheck/macosxspell/macreg.mm b/lingucomponent/source/spellcheck/macosxspell/macreg.mm
index 6324c32..b3504c1 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macreg.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macreg.mm
@@ -24,22 +24,11 @@
#include <com/sun/star/registry/XRegistryKey.hpp>
+#include <macspellimp.hxx>
+
using namespace com::sun::star::lang;
using namespace com::sun::star::registry;
-
-// declaration of external RegEntry-functions defined by the service objects
-
-
-extern void * SAL_CALL MacSpellChecker_getFactory(
- const sal_Char * pImplName,
- XMultiServiceFactory * pServiceManager,
- void * /*pRegistryKey*/ );
-
-
-// definition of the two functions that are used to provide the services
-
-
extern "C"
{
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
index 696553d..94a53a9 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
@@ -127,6 +127,9 @@ inline OUString MacSpellChecker::getImplementationName_Static() throw()
return OUString( "org.openoffice.lingu.MacOSXSpellChecker" );
}
+void * SAL_CALL MacSpellChecker_getFactory(
+ char const * pImplName, XMultiServiceFactory * pServiceManager, void *);
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list