summaryrefslogtreecommitdiff
path: root/sc/inc/fillinfo.hxx
diff options
context:
space:
mode:
authorSteven Guo <steventimothyguo@gmail.com>2016-03-08 22:45:17 -0800
committerStephan Bergmann <sbergman@redhat.com>2016-04-05 06:57:31 +0000
commitbe3c2ff9233e8d4c5afe9c696cb5a60b24b25efc (patch)
tree89d3be1ac1f9cf210d78aacdde94fa45f10ec692 /sc/inc/fillinfo.hxx
parentaf23aa9a763bd8ebe160b95a48e1b0e650ec9ed3 (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/fillinfo.hxx')
-rw-r--r--sc/inc/fillinfo.hxx20
1 files changed, 15 insertions, 5 deletions
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx
index 94bd6b19d23e..a52e6a188f1d 100644
--- a/sc/inc/fillinfo.hxx
+++ b/sc/inc/fillinfo.hxx
@@ -29,8 +29,6 @@
#include "colorscale.hxx"
#include "cellvalue.hxx"
-#include <boost/noncopyable.hpp>
-
class SfxItemSet;
class SvxBrushItem;
class SvxBoxItem;
@@ -96,8 +94,13 @@ struct ScIconSetInfo
bool mbShowValue;
};
-struct CellInfo : boost::noncopyable
+struct CellInfo
{
+ CellInfo() = default;
+ ~CellInfo() = default;
+ CellInfo(const CellInfo&) = delete;
+ const CellInfo& operator=(const CellInfo&) = delete;
+
ScRefCellValue maCell;
const ScPatternAttr* pPatternAttr;
@@ -139,8 +142,13 @@ struct CellInfo : boost::noncopyable
const SCCOL SC_ROTMAX_NONE = SCCOL_MAX;
-struct RowInfo : boost::noncopyable
+struct RowInfo
{
+ RowInfo() = default;
+ ~RowInfo() = default;
+ RowInfo(const RowInfo&) = delete;
+ const RowInfo& operator=(const RowInfo&) = delete;
+
CellInfo* pCellInfo;
sal_uInt16 nHeight;
@@ -154,7 +162,7 @@ struct RowInfo : boost::noncopyable
bool bChanged:1; // TRUE, if not tested
};
-struct ScTableInfo : boost::noncopyable
+struct ScTableInfo
{
svx::frame::Array maArray;
RowInfo* mpRowInfo;
@@ -163,6 +171,8 @@ struct ScTableInfo : boost::noncopyable
explicit ScTableInfo();
~ScTableInfo();
+ ScTableInfo(const ScTableInfo&) = delete;
+ const ScTableInfo& operator=(const ScTableInfo&) = delete;
};
#endif