summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-22 14:42:58 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-22 14:48:25 +0300
commite6fdd7ad0a4c548467157fa6791389e19f08993c (patch)
tree88c5c0734b911f262da14af5f90e318d4c240953 /filter
parentdb12d9042c71b872efe0ed2d94cf00852c57abb5 (diff)
The bLastBoxInChain fields are unused
Change-Id: I741733a053c8b0123be8efbcb9fde39f53f6d83c
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 7d0882438bc6..bf13fe7f7410 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5111,7 +5111,6 @@ SdrObject* SvxMSDffManager::ProcessObj(SvStream& rSt,
{
SvxMSDffShapeInfo& rInfo = **it;
pTextImpRec->bReplaceByFly = rInfo.bReplaceByFly;
- pTextImpRec->bLastBoxInChain = rInfo.bLastBoxInChain;
}
}
@@ -5661,7 +5660,6 @@ void SvxMSDffManager::CheckTxBxStoryChain()
boost::shared_ptr<SvxMSDffShapeInfo> const pObj = *iter;
if( pObj->nTxBxComp )
{
- pObj->bLastBoxInChain = false;
// group change?
// #156763#
// the text id also contains an internal drawing container id
@@ -5669,13 +5667,6 @@ void SvxMSDffManager::CheckTxBxStoryChain()
// drawing containers.
if( nChain != pObj->nTxBxComp )
{
- // previous was last of its group
- if (iter != m_pShapeInfosByTxBxComp->begin())
- {
- SvxMSDffShapeInfos_ByTxBxComp::iterator prev(iter);
- --prev;
- (*prev)->bLastBoxInChain = true;
- }
// reset mark and helper flag
mark = iter;
nChain = pObj->nTxBxComp;
@@ -5702,11 +5693,6 @@ void SvxMSDffManager::CheckTxBxStoryChain()
pObj->nTxBxComp = pObj->nTxBxComp & 0xFFFF0000;
m_pShapeInfosById->insert( pObj );
}
- // last one was last of its group
- if (!m_pShapeInfosByTxBxComp->empty())
- {
- (*m_pShapeInfosByTxBxComp->rbegin())->bLastBoxInChain = true;
- }
// free original array but don't free its elements
m_pShapeInfosByTxBxComp.reset();
}
@@ -7242,7 +7228,6 @@ SvxMSDffImportRec::SvxMSDffImportRec()
bHidden = false;
bReplaceByFly = false;
- bLastBoxInChain = true;
bVFlip = false;
bHFlip = false;
bAutoWidth = false;
@@ -7292,7 +7277,6 @@ SvxMSDffImportRec::SvxMSDffImportRec(const SvxMSDffImportRec& rCopy)
bHidden = rCopy.bHidden;
bReplaceByFly = rCopy.bReplaceByFly;
bAutoWidth = rCopy.bAutoWidth;
- bLastBoxInChain = rCopy.bLastBoxInChain;
bVFlip = rCopy.bVFlip;
bHFlip = rCopy.bHFlip;
nClientAnchorLen = rCopy.nClientAnchorLen;