[Libreoffice-commits] .: sw/source

Nigel Hawkins nhawkins at kemper.freedesktop.org
Wed Jul 13 23:40:56 PDT 2011


 sw/source/core/text/itrcrsr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7dd8caa00b410d48ba8a8f8e194fa45bc0280f68
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date:   Thu Jul 14 06:37:51 2011 +0100

    Fix "signed/unsigned comparison" warning in itrcrsr.cxx.

diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index ee7307a..3c4bebd 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -539,7 +539,7 @@ void SwTxtCursor::_GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
         SwTwips nLastBidiPorWidth = 0;
         std::deque<sal_uInt16>* pKanaComp = pCurr->GetpKanaComp();
         MSHORT nSpaceIdx = 0;
-        MSHORT nKanaIdx = 0;
+        size_t nKanaIdx = 0;
         long nSpaceAdd = pCurr->IsSpaceAdd() ? pCurr->GetLLSpaceAdd( 0 ) : 0;
 
         sal_Bool bNoTxt = sal_True;


More information about the Libreoffice-commits mailing list