From d84ef731d8f5d8c1e896ecda3d03d4bb9129578d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 9 Apr 2016 17:07:54 +0200 Subject: tdf#94306 replace boost::noncopyable ... ... in modules editeng to oox. Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes and one unused boost/checked_delete.hpp include in linguistic. Change-Id: I5a38d8e5ac1b4286bdeb3858d56490a53d13fe80 Reviewed-on: https://gerrit.libreoffice.org/23928 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lingucomponent/source/languageguessing/guesslang.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lingucomponent') diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index c1df022e11e3..90009237b292 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -19,7 +19,6 @@ #include -#include #include #include @@ -75,8 +74,7 @@ static osl::Mutex & GetLangGuessMutex() class LangGuess_Impl : public ::cppu::WeakImplHelper< XLanguageGuessing, - XServiceInfo >, - private boost::noncopyable + XServiceInfo > { SimpleGuesser m_aGuesser; bool m_bInitialized; @@ -86,6 +84,8 @@ class LangGuess_Impl : public: LangGuess_Impl(); + LangGuess_Impl(const LangGuess_Impl&) = delete; + LangGuess_Impl& operator=(const LangGuess_Impl&) = delete; // XServiceInfo implementation virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException, std::exception) override; -- cgit v1.2.3