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/columnspanset.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/columnspanset.hxx')
-rw-r--r-- | sc/inc/columnspanset.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx index 23dbf2163549..7b4297927796 100644 --- a/sc/inc/columnspanset.hxx +++ b/sc/inc/columnspanset.hxx @@ -14,7 +14,6 @@ #include <vector> #include <mdds/flat_segment_tree.hpp> -#include <boost/noncopyable.hpp> class ScDocument; class ScColumn; @@ -47,7 +46,7 @@ struct SC_DLLPUBLIC ColRowSpan * Structure that stores segments of boolean flags per column, and perform * custom action on those segments. */ -class ColumnSpanSet : private boost::noncopyable +class ColumnSpanSet { public: typedef mdds::flat_segment_tree<SCROW, bool> ColumnSpansType; @@ -88,6 +87,8 @@ public: }; ColumnSpanSet(bool bInit); + ColumnSpanSet(const ColumnSpanSet&) = delete; + const ColumnSpanSet& operator=(const ColumnSpanSet&) = delete; ~ColumnSpanSet(); void set(SCTAB nTab, SCCOL nCol, SCROW nRow, bool bVal); |