summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-14 21:54:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-14 21:54:23 +0200
commit981590d1cf89bb07864ec62bfebdc03c61bd475b (patch)
tree865cd5190ce8350ef7b4630e7e799b6a7b8a5901 /lingucomponent
parent6a682c41e5013b227a254a3ba7a2954a4fbb793a (diff)
Clean up function declarations
Change-Id: Ic00323f1c22f9b3642758dc21b65a2413624515e
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macreg.mm15
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx3
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: */