summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-01-05 16:21:52 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-01-06 11:42:18 +0100
commit989863d849b1e703e78afc413088c3ae51093139 (patch)
treec4d4e643b525011dffc0ba33398642902d54f6d1 /sw/source
parent428a815fbcdab7da1a4a9d47137340bf10893c6e (diff)
!= instead of < for comparison with end iterator
Change-Id: I6b1d524a7771678758c5cd8d0ef46cb03aba7655
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/text/porlay.cxx2
1 files changed, 1 insertions, 1 deletions
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,