Kaydet (Commit) a83e40e2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Dead code

Change-Id: Ifdb7c139fa6db7fef2896098f758769cb5284b28
üst f839d6ae
......@@ -70,47 +70,6 @@ XFTable::XFTable()
m_pOwnerCell = NULL;
}
XFTable::XFTable(const XFTable& other):XFContent(other)
{
m_strName = other.m_strName;
m_bSubTable = other.m_bSubTable;
m_pOwnerCell = NULL;
for( int i=1; i<=other.m_aHeaderRows.GetCount(); i++ )
{
XFRow *pRow = (XFRow*)other.m_aHeaderRows.GetContent(i+1);
if( pRow )
{
m_aHeaderRows.Add( new XFRow(*pRow) );
}
}
m_aColumns = other.m_aColumns;
m_strDefCellStyle = other.m_strDefCellStyle;
m_strDefRowStyle = other.m_strDefRowStyle;
m_strDefColStyle = other.m_strDefColStyle;
}
XFTable& XFTable::operator =(const XFTable& other)
{
m_strName = other.m_strName;
m_bSubTable = other.m_bSubTable;
m_pOwnerCell = NULL;
for( int i=1; i<=other.m_aHeaderRows.GetCount(); i++ )
{
XFRow *pRow = (XFRow*)other.m_aHeaderRows.GetContent(i);
if( pRow )
{
m_aHeaderRows.Add( new XFRow(*pRow) );
}
}
m_aColumns = other.m_aColumns;
m_strDefCellStyle = other.m_strDefCellStyle;
m_strDefRowStyle = other.m_strDefRowStyle;
m_strDefColStyle = other.m_strDefColStyle;
return *this;
}
XFTable::~XFTable()
{
std::map<sal_uInt16, XFRow*>::iterator it;
......
......@@ -72,10 +72,6 @@ class XFTable : public XFContent
public:
XFTable();
XFTable(const XFTable& other);
XFTable& operator=(const XFTable& other);
virtual ~XFTable();
public:
......
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