summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-14 13:10:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-14 13:10:53 +0200
commit5b8ca52fe7ebe40761b9ecd84d313f90eba61687 (patch)
tree4d3176a076631a6361b855e7895e2184e430b6e7 /lingucomponent/source/spellcheck
parent29a96480b09f63bfbffb799729cf09d3693c0054 (diff)
Clean up function declarations
Change-Id: Ia811e9d3a6745e75fddddb6c6876316fde3629d8
Diffstat (limited to 'lingucomponent/source/spellcheck')
-rw-r--r--lingucomponent/source/spellcheck/spell/sreg.cxx8
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.hxx6
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: */