From 989863d849b1e703e78afc413088c3ae51093139 Mon Sep 17 00:00:00 2001
From: Julien Nabet <serval2412@yahoo.fr>
Date: Sat, 5 Jan 2013 16:21:52 +0100
Subject: != instead of < for comparison with end iterator

Change-Id: I6b1d524a7771678758c5cd8d0ef46cb03aba7655
---
 sw/source/core/text/porlay.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sw/source')

diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index fb346b43766d..79bde320f855 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -1238,7 +1238,7 @@ void SwScriptInfo::InitScriptInfo( const SwTxtNode& rNode, sal_Bool bRTL )
                 // position and that we don't have "empty" changes.
                 sal_uInt8 nLastTyp = i18n::ScriptType::WEAK;
                 xub_StrLen nLastPos = 0;
-                for (std::vector<ScriptChangeInfo>::const_iterator i2 = aScriptChanges.begin(); i2 < aScriptChanges.end(); ++i2)
+                for (std::vector<ScriptChangeInfo>::const_iterator i2 = aScriptChanges.begin(); i2 != aScriptChanges.end(); ++i2)
                 {
                     SAL_WARN_IF( nLastTyp == i2->type ||
                             nLastPos >= i2->position,
-- 
cgit