[Libreoffice-commits] .: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 6 02:52:42 PST 2013
sw/source/core/text/porlay.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 989863d849b1e703e78afc413088c3ae51093139
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jan 5 16:21:52 2013 +0100
!= instead of < for comparison with end iterator
Change-Id: I6b1d524a7771678758c5cd8d0ef46cb03aba7655
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index fb346b4..79bde32 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,
More information about the Libreoffice-commits
mailing list