diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 13:10:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 13:10:53 +0200 |
commit | 5b8ca52fe7ebe40761b9ecd84d313f90eba61687 (patch) | |
tree | 4d3176a076631a6361b855e7895e2184e430b6e7 /lingucomponent/source/spellcheck/spell | |
parent | 29a96480b09f63bfbffb799729cf09d3693c0054 (diff) |
Clean up function declarations
Change-Id: Ia811e9d3a6745e75fddddb6c6876316fde3629d8
Diffstat (limited to 'lingucomponent/source/spellcheck/spell')
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sreg.cxx | 8 | ||||
-rw-r--r-- | lingucomponent/source/spellcheck/spell/sspellimp.hxx | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sreg.cxx b/lingucomponent/source/spellcheck/spell/sreg.cxx index e8b75ffc3432..e018a4a3c998 100644 --- a/lingucomponent/source/spellcheck/spell/sreg.cxx +++ b/lingucomponent/source/spellcheck/spell/sreg.cxx @@ -22,15 +22,11 @@ #include <com/sun/star/registry/XRegistryKey.hpp> +#include <sspellimp.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 SpellChecker_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/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx index 9c7c0d8789aa..6aa649c8701d 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx @@ -43,6 +43,8 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::linguistic2; +class Hunspell; + class SpellChecker : public cppu::WeakImplHelper6 < @@ -119,6 +121,10 @@ inline OUString SpellChecker::getImplementationName_Static() throw() return OUString( "org.openoffice.lingu.MySpellSpellChecker" ); } +void * SAL_CALL SpellChecker_getFactory( + char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager, + void *); + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |