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/formulagroup.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/formulagroup.hxx')
-rw-r--r-- | sc/inc/formulagroup.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx index 7ee6d596e30b..19eb898bdfba 100644 --- a/sc/inc/formulagroup.hxx +++ b/sc/inc/formulagroup.hxx @@ -27,7 +27,6 @@ #include <set> #include <unordered_map> #include <vector> -#include <boost/noncopyable.hpp> class ScDocument; class ScTokenArray; @@ -52,7 +51,7 @@ struct FormulaGroupEntry FormulaGroupEntry( ScFormulaCell* pCell, size_t nRow ); }; -struct FormulaGroupContext : boost::noncopyable +struct FormulaGroupContext { typedef AlignedAllocator<double,256> DoubleAllocType; typedef std::vector<double, DoubleAllocType> NumArrayType; @@ -100,6 +99,8 @@ struct FormulaGroupContext : boost::noncopyable void ensureNumArray( ColArray& rColArray, size_t nArrayLen ); FormulaGroupContext(); + FormulaGroupContext(const FormulaGroupContext&) = delete; + const FormulaGroupContext& operator=(const FormulaGroupContext&) = delete; ~FormulaGroupContext(); }; |