summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-06-08 17:26:35 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-06-08 22:32:52 -0500
commit0d3f3c3c45cadf06b7de2cc1592a59e6a44ebd60 (patch)
treec0456e0fe6b9db65051a0484d14e25311d9811a9
parentfd702d8c2809fc0d640a46db6cfca79cadc29da0 (diff)
fdo#37799: fixed broken loop causing a crash
-rw-r--r--sw/source/core/edit/edfld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index ebb19064cf..c07c4efe2f 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -204,7 +204,7 @@ void SwEditShell::FieldToText( SwFieldType* pType )
SwFieldHint aHint( pPaM );
SwClientIter aIter( *pType );
- for ( SwClient* pClient = aIter.GoStart(); pClient; aIter++ )
+ for ( SwClient* pClient = aIter.GoStart(); pClient; pClient = aIter++ )
{
pPaM->DeleteMark();
pClient->SwClientNotifyCall( *pType, aHint );