Lines 141-149
Link Here
|
141 |
{ |
141 |
{ |
142 |
sw::Frames aRet; |
142 |
sw::Frames aRet; |
143 |
|
143 |
|
144 |
for(SwPosFlyFrms::const_iterator aPos(rFlys.begin()); aPos != rFlys.end(); aPos++) |
144 |
for(SwPosFlyFrms::const_iterator aIter(rFlys.begin()); aIter != rFlys.end(); aIter++) |
145 |
{ |
145 |
{ |
146 |
const SwFrmFmt &rEntry = (*aPos)->GetFmt(); |
146 |
const SwFrmFmt &rEntry = (*aIter)->GetFmt(); |
147 |
|
147 |
|
148 |
if (const SwPosition* pAnchor = rEntry.GetAnchor().GetCntntAnchor()) |
148 |
if (const SwPosition* pAnchor = rEntry.GetAnchor().GetCntntAnchor()) |
149 |
{ |
149 |
{ |
Lines 151-157
Link Here
|
151 |
} |
151 |
} |
152 |
else |
152 |
else |
153 |
{ |
153 |
{ |
154 |
SwPosition aPos((*aPos)->GetNdIndex()); |
154 |
SwPosition aPos((*aIter)->GetNdIndex()); |
155 |
|
155 |
|
156 |
if (SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode()) |
156 |
if (SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode()) |
157 |
{ |
157 |
{ |