Kaydet (Commit) e639e306 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make them officially non-copyable.

Change-Id: Ie8f8c2227b35ffb81f902458ce1b0a732b430b53
üst b1391232
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include "colorscale.hxx" #include "colorscale.hxx"
#include "cellvalue.hxx" #include "cellvalue.hxx"
#include <boost/noncopyable.hpp>
class SfxItemSet; class SfxItemSet;
class SvxBrushItem; class SvxBrushItem;
class SvxBoxItem; class SvxBoxItem;
...@@ -90,7 +92,7 @@ struct ScIconSetInfo ...@@ -90,7 +92,7 @@ struct ScIconSetInfo
bool mbShowValue; bool mbShowValue;
}; };
struct CellInfo struct CellInfo : boost::noncopyable
{ {
ScRefCellValue maCell; ScRefCellValue maCell;
...@@ -145,7 +147,7 @@ struct CellInfo ...@@ -145,7 +147,7 @@ struct CellInfo
const SCCOL SC_ROTMAX_NONE = SCCOL_MAX; const SCCOL SC_ROTMAX_NONE = SCCOL_MAX;
struct RowInfo struct RowInfo : boost::noncopyable
{ {
CellInfo* pCellInfo; CellInfo* pCellInfo;
...@@ -166,7 +168,7 @@ private: ...@@ -166,7 +168,7 @@ private:
RowInfo& operator=( const RowInfo& ); RowInfo& operator=( const RowInfo& );
}; };
struct ScTableInfo struct ScTableInfo : boost::noncopyable
{ {
svx::frame::Array maArray; svx::frame::Array maArray;
RowInfo* mpRowInfo; RowInfo* mpRowInfo;
......
...@@ -323,7 +323,6 @@ void ScDocument::FillInfo( ...@@ -323,7 +323,6 @@ void ScDocument::FillInfo(
//! Conditionals auch bei HASATTR_ROTATE abfragen ???? //! Conditionals auch bei HASATTR_ROTATE abfragen ????
OSL_ENSURE( nArrCount>2, "nArrCount too small" ); OSL_ENSURE( nArrCount>2, "nArrCount too small" );
// FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-2, nX1, nX2 );
FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-1, nCol1, nCol2 ); FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-1, nCol1, nCol2 );
// FindMaxRotCol setzt nRotMaxCol // FindMaxRotCol setzt nRotMaxCol
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment