diff options
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xftable.cxx | 41 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xftable.hxx | 4 |
2 files changed, 0 insertions, 45 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xftable.cxx b/lotuswordpro/source/filter/xfilter/xftable.cxx index 9c93b05358d9..bc8c2940281c 100644 --- a/lotuswordpro/source/filter/xfilter/xftable.cxx +++ b/lotuswordpro/source/filter/xfilter/xftable.cxx @@ -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; diff --git a/lotuswordpro/source/filter/xfilter/xftable.hxx b/lotuswordpro/source/filter/xfilter/xftable.hxx index f44c55ed610a..9dffb6f533e5 100644 --- a/lotuswordpro/source/filter/xfilter/xftable.hxx +++ b/lotuswordpro/source/filter/xfilter/xftable.hxx @@ -72,10 +72,6 @@ class XFTable : public XFContent public: XFTable(); - XFTable(const XFTable& other); - - XFTable& operator=(const XFTable& other); - virtual ~XFTable(); public: |