[Libreoffice-commits] .: editeng/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Apr 3 08:51:33 PDT 2012
editeng/source/editeng/impedit2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 97bcf0b645fa5ce14cfd806548c6805952fd3e76
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Apr 3 11:51:18 2012 -0400
WaE: for Norbert's Mac OS tinderbox.
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 6a01a0f..ec74f29 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -3965,7 +3965,7 @@ long ImpEditEngine::GetXPos(
// End of Portion
if ( pPortion->GetKind() == PORTIONKIND_TAB )
{
- if ( (nTextPortion+1) < pParaPortion->GetTextPortions().Count() )
+ if ( static_cast<size_t>(nTextPortion+1) < pParaPortion->GetTextPortions().Count() )
{
const TextPortion* pNextPortion = pParaPortion->GetTextPortions()[nTextPortion+1];
if ( pNextPortion->GetKind() != PORTIONKIND_TAB )
More information about the Libreoffice-commits
mailing list