Author: arielch
Date: Sat Jun 30 23:02:03 2012
New Revision: 1355833
URL: http://svn.apache.org/viewvc?rev=1355833&view=rev
Log:
Fix build breaker from i120106
Patch by: Chao Huang
Suggested by: alg
Modified:
incubator/ooo/trunk/main/sw/source/filter/ww8/writerhelper.cxx
Modified: incubator/ooo/trunk/main/sw/source/filter/ww8/writerhelper.cxx
URL:
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/ww8/writerhelper.cxx?rev=1355833&r1=1355832&r2=1355833&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/ww8/writerhelper.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/ww8/writerhelper.cxx Sat Jun 30
23:02:03 2012
@@ -141,9 +141,9 @@ namespace
{
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())
{
@@ -151,7 +151,7 @@ namespace
}
else
{
- SwPosition aPos((*aPos)->GetNdIndex());
+ SwPosition aPos((*aIter)->GetNdIndex());
if (SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode())
{