diff options
Diffstat (limited to 'lingucomponent/source/languageguessing/guesslang.cxx')
-rw-r--r-- | lingucomponent/source/languageguessing/guesslang.cxx | 10 |
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) : |