summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing
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/languageguessing
parent29a96480b09f63bfbffb799729cf09d3693c0054 (diff)
Clean up function declarations
Change-Id: Ia811e9d3a6745e75fddddb6c6876316fde3629d8
Diffstat (limited to 'lingucomponent/source/languageguessing')
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx
index ba7f1f3621ab..b21f9baaebd8 100644
--- a/lingucomponent/source/languageguessing/guesslang.cxx
+++ b/lingucomponent/source/languageguessing/guesslang.cxx
@@ -19,6 +19,7 @@
#include <iostream>
+#include <boost/noncopyable.hpp>
#include <tools/debug.hxx>
#include <sal/config.h>
@@ -77,15 +78,13 @@ static osl::Mutex & GetLangGuessMutex()
class LangGuess_Impl :
public ::cppu::WeakImplHelper2<
XLanguageGuessing,
- XServiceInfo >
+ XServiceInfo >,
+ private boost::noncopyable
{
SimpleGuesser m_aGuesser;
bool m_bInitialized;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
- LangGuess_Impl( const LangGuess_Impl & ); // not defined
- LangGuess_Impl & operator =( const LangGuess_Impl & ); // not defined
-
virtual ~LangGuess_Impl() {}
void EnsureInitialized();
@@ -108,9 +107,6 @@ public:
// implementation specific
void SetFingerPrintsDB( const OUString &fileName ) throw (RuntimeException);
-
- static const OUString & SAL_CALL getImplementationName_Static() throw();
-
};
LangGuess_Impl::LangGuess_Impl(css::uno::Reference< css::uno::XComponentContext > const & rxContext) :