[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Wed Jun 8 21:30:21 PDT 2011
sw/source/core/edit/edfld.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0d3f3c3c45cadf06b7de2cc1592a59e6a44ebd60
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date: Wed Jun 8 17:26:35 2011 +0200
fdo#37799: fixed broken loop causing a crash
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index ebb1906..c07c4ef 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 );
More information about the Libreoffice-commits
mailing list