From 981590d1cf89bb07864ec62bfebdc03c61bd475b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 14 Apr 2014 21:54:23 +0200 Subject: Clean up function declarations Change-Id: Ic00323f1c22f9b3642758dc21b65a2413624515e --- lingucomponent/source/spellcheck/macosxspell/macreg.mm | 15 ++------------- .../source/spellcheck/macosxspell/macspellimp.hxx | 3 +++ 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'lingucomponent') diff --git a/lingucomponent/source/spellcheck/macosxspell/macreg.mm b/lingucomponent/source/spellcheck/macosxspell/macreg.mm index 6324c32228a6..b3504c10b26c 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macreg.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macreg.mm @@ -24,22 +24,11 @@ #include +#include + 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 696553d17d92..94a53a99a77b 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: */ -- cgit