[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Jun 13 20:58:44 PDT 2011


 sc/source/filter/excel/excrecds.cxx |   21 ---------------------
 sc/source/filter/inc/excrecds.hxx   |   20 --------------------
 2 files changed, 41 deletions(-)

New commits:
commit 0f700027114e24aae03360403b1151dd03bee5ed
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Jun 13 23:58:20 2011 -0400

    Removed ExcRecordList; nobody uses it.

diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 4bff217..e21b8c7 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -176,25 +176,6 @@ sal_Size ExcEmptyRec::GetLen() const
     return 0;
 }
 
-
-
-//------------------------------------------------------- class ExcRecordList -
-
-ExcRecordList::~ExcRecordList()
-{
-    for (iterator pIter = maRecords.begin(); pIter != maRecords.end(); ++pIter)
-        delete (*pIter);
-}
-
-
-void ExcRecordList::Save( XclExpStream& rStrm )
-{
-    for (iterator pIter = maRecords.begin(); pIter != maRecords.end(); ++pIter)
-        (*pIter)->Save( rStrm );
-}
-
-
-
 //--------------------------------------------------------- class ExcDummyRec -
 
 void ExcDummyRec::Save( XclExpStream& rStrm )
@@ -208,8 +189,6 @@ sal_uInt16 ExcDummyRec::GetNum( void ) const
     return 0x0000;
 }
 
-
-
 //------------------------------------------------------- class ExcBoolRecord -
 
 void ExcBoolRecord::SaveCont( XclExpStream& rStrm )
diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx
index 0a73ea7..eb00bd8 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.hxx
@@ -97,26 +97,6 @@ public:
     virtual sal_Size        GetLen() const;
 };
 
-
-//------------------------------------------------------- class ExcRecordList -
-
-class ExcRecordList : public ExcEmptyRec
-{
-private:
-    std::vector<ExcRecord*> maRecords;
-
-public:
-
-    typedef std::vector<ExcRecord*>::iterator iterator;
-
-    virtual					~ExcRecordList();
-
-    inline void				Append( ExcRecord* pNew )	{ if( pNew ) maRecords.push_back( pNew ); }
-
-    virtual void			Save( XclExpStream& rStrm );
-};
-
-
 //--------------------------------------------------------- class ExcDummyRec -
 
 class ExcDummyRec : public ExcRecord


More information about the Libreoffice-commits mailing list