diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-21 16:16:24 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-24 16:51:40 -0400 |
commit | e639e3068c30bb614c394466f41fa450ee8b2dbb (patch) | |
tree | 6f1a1cf5cb4a46ca92f43c37209d7f6506a7acbf | |
parent | b1391232450af9e81079a2afe2173c422c8e9e3b (diff) |
Make them officially non-copyable.
Change-Id: Ie8f8c2227b35ffb81f902458ce1b0a732b430b53
-rw-r--r-- | sc/inc/fillinfo.hxx | 8 | ||||
-rw-r--r-- | sc/source/core/data/fillinfo.cxx | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx index a55d63850819..9999a89b1185 100644 --- a/sc/inc/fillinfo.hxx +++ b/sc/inc/fillinfo.hxx @@ -25,6 +25,8 @@ #include "colorscale.hxx" #include "cellvalue.hxx" +#include <boost/noncopyable.hpp> + class SfxItemSet; class SvxBrushItem; class SvxBoxItem; @@ -90,7 +92,7 @@ struct ScIconSetInfo bool mbShowValue; }; -struct CellInfo +struct CellInfo : boost::noncopyable { ScRefCellValue maCell; @@ -145,7 +147,7 @@ struct CellInfo const SCCOL SC_ROTMAX_NONE = SCCOL_MAX; -struct RowInfo +struct RowInfo : boost::noncopyable { CellInfo* pCellInfo; @@ -166,7 +168,7 @@ private: RowInfo& operator=( const RowInfo& ); }; -struct ScTableInfo +struct ScTableInfo : boost::noncopyable { svx::frame::Array maArray; RowInfo* mpRowInfo; diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index c0c02d6a3281..34c256284a51 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -323,7 +323,6 @@ void ScDocument::FillInfo( //! Conditionals auch bei HASATTR_ROTATE abfragen ???? OSL_ENSURE( nArrCount>2, "nArrCount too small" ); -// FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-2, nX1, nX2 ); FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-1, nCol1, nCol2 ); // FindMaxRotCol setzt nRotMaxCol |