diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-17 13:39:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-17 14:30:01 -0400 |
commit | c003fca9f077958f4c73a80f56634e08c454b4e7 (patch) | |
tree | 66c2a6a2e4effb0baaa56a5faaacaa686c9dbe08 /sc | |
parent | 1409c9b703530beaa2bf4118f1501d675f8a535e (diff) |
And this too.
Change-Id: Ie8772de1d5b56b994c951ada09ee54afffceeb4f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/inc/XclExpChangeTrack.hxx | 3 | ||||
-rw-r--r-- | sc/source/filter/xcl97/XclExpChangeTrack.cxx | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx index c650d3642adb..2ef29b7ca3d4 100644 --- a/sc/source/filter/inc/XclExpChangeTrack.hxx +++ b/sc/source/filter/inc/XclExpChangeTrack.hxx @@ -570,10 +570,11 @@ public: class XclExpChangeTrack : protected XclExpRoot { typedef boost::ptr_vector<ExcRecord> RecListType; + typedef boost::ptr_vector<XclExpChTrTabIdBuffer> TabIdBufferType; RecListType maRecList; // list of "Revision Log" stream records std::stack<XclExpChTrAction*> aActionStack; XclExpChTrTabIdBuffer* pTabIdBuffer; - std::vector<XclExpChTrTabIdBuffer*> maBuffers; + TabIdBufferType maBuffers; ScDocument* pTempDoc; // empty document diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx index c96169afdeb7..9b4d5d0ac1fb 100644 --- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx +++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx @@ -1459,10 +1459,6 @@ XclExpChangeTrack::XclExpChangeTrack( const XclExpRoot& rRoot ) : XclExpChangeTrack::~XclExpChangeTrack() { - std::vector<XclExpChTrTabIdBuffer*>::iterator pIter; - for ( pIter = maBuffers.begin(); pIter != maBuffers.end(); ++pIter ) - delete *pIter; - while( !aActionStack.empty() ) { delete aActionStack.top(); |