diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-07-23 10:10:20 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-07-23 11:25:39 +0200 |
commit | 068e5816fa3b623bcb072bee776dd5d63d5d3370 (patch) | |
tree | 5d190db885084f2f222c2535dae0a27149a066d4 | |
parent | 05061b257d088d90ee00bb551401f1b2c2c7063e (diff) |
enable saving SwSaveTypeCountContent to a MarkEntry vector
Change-Id: I5aa94b0247db7142ce9ea1687b2d2dcc4e3189e9
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index ce84cebf3d67..082dadbe0ee7 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -1405,6 +1405,16 @@ namespace rArr.push_back( m_nIdx ); rArr.push_back( m_nCntnt ); } + _SwSaveTypeCountContent( const std::vector<MarkEntry> &rArr, sal_uInt16& rPos ) + { + m_nIdx = rArr[ rPos ].m_nIdx; + m_bOther = rArr[ rPos ].m_bOther; + m_nCntnt = rArr[ rPos ].m_nCntnt; + } + void Add( std::vector<MarkEntry> &rArr ) + { + rArr.push_back( *this ); + } void SetCharBound( bool bCB ) { m_bOther = bCB; } bool IsCharBound() const { return m_bOther; } |