[Libreoffice-commits] .: editeng/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Jul 12 07:08:24 PDT 2012


 editeng/source/misc/svxacorr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 058116026965ad31164fe60d5cd8a6d5fbbe8f65
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 12 15:07:13 2012 +0100

    make this a const_iterator for windows buildbot
    
    Change-Id: I6e242de572595fdf39553d76932bc0e953cd3a34

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 31a1cda..68473fd 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1658,7 +1658,7 @@ static const SvxAutocorrWord* lcl_SearchWordsInList(
 {
     const SvxAutocorrWordList* pAutoCorrWordList = pList->GetAutocorrWordList();
     TransliterationWrapper& rCmp = GetIgnoreTranslWrapper();
-    for( SvxAutocorrWordList::iterator it = pAutoCorrWordList->begin(); it != pAutoCorrWordList->end(); ++it )
+    for( SvxAutocorrWordList::const_iterator it = pAutoCorrWordList->begin(); it != pAutoCorrWordList->end(); ++it )
     {
         const SvxAutocorrWord* pFnd = *it;
         const String& rChk = pFnd->GetShort();


More information about the Libreoffice-commits mailing list