diff options
author | Steven Guo <steventimothyguo@gmail.com> | 2016-03-08 22:45:17 -0800 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-05 06:57:31 +0000 |
commit | be3c2ff9233e8d4c5afe9c696cb5a60b24b25efc (patch) | |
tree | 89d3be1ac1f9cf210d78aacdde94fa45f10ec692 /sc/inc/formulacell.hxx | |
parent | af23aa9a763bd8ebe160b95a48e1b0e650ec9ed3 (diff) |
tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors
Replaced boost::noncopyable with play C++11 deleted copy ctors
in sc/inc/* files.
Change-Id: I2e6310f2f2bac673dd3b5d14e80ce80a98795672
Reviewed-on: https://gerrit.libreoffice.org/23059
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc/formulacell.hxx')
-rw-r--r-- | sc/inc/formulacell.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 7f93444fc759..10a96ce341fb 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -23,8 +23,6 @@ #include <set> #include <memory> -#include <boost/noncopyable.hpp> - #include <formula/tokenarray.hxx> #include <osl/conditn.hxx> #include <osl/mutex.hxx> @@ -54,7 +52,7 @@ class ScFormulaCell; class ScProgress; class ScTokenArray; -struct SC_DLLPUBLIC ScFormulaCellGroup : boost::noncopyable +struct SC_DLLPUBLIC ScFormulaCellGroup { private: struct Impl; @@ -74,6 +72,8 @@ public: sal_uInt8 meCalcState; ScFormulaCellGroup(); + ScFormulaCellGroup(const ScFormulaCellGroup&) = delete; + const ScFormulaCellGroup& operator=(const ScFormulaCellGroup&) = delete; ~ScFormulaCellGroup(); void setCode( const ScTokenArray& rCode ); |