diff options
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macreg.mm | 15 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 3 |
2 files changed, 5 insertions, 13 deletions
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 <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 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: */ |