Kaydet (Commit) 880aadbe authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile

Fix build breaker from i120106

Patch by: Chao Huang
Suggested by: alg
üst 3067d49a
...@@ -141,9 +141,9 @@ namespace ...@@ -141,9 +141,9 @@ namespace
{ {
sw::Frames aRet; sw::Frames aRet;
for(SwPosFlyFrms::const_iterator aPos(rFlys.begin()); aPos != rFlys.end(); aPos++) for(SwPosFlyFrms::const_iterator aIter(rFlys.begin()); aIter != rFlys.end(); aIter++)
{ {
const SwFrmFmt &rEntry = (*aPos)->GetFmt(); const SwFrmFmt &rEntry = (*aIter)->GetFmt();
if (const SwPosition* pAnchor = rEntry.GetAnchor().GetCntntAnchor()) if (const SwPosition* pAnchor = rEntry.GetAnchor().GetCntntAnchor())
{ {
...@@ -151,7 +151,7 @@ namespace ...@@ -151,7 +151,7 @@ namespace
} }
else else
{ {
SwPosition aPos((*aPos)->GetNdIndex()); SwPosition aPos((*aIter)->GetNdIndex());
if (SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode()) if (SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment