summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-07-14 06:37:51 +0100
committerNigel Hawkins <n.hawkins@gmx.com>2011-07-14 06:37:51 +0100
commit7dd8caa00b410d48ba8a8f8e194fa45bc0280f68 (patch)
tree0576b62a675e6aab756aa568070cd9b02d466332
parent933ea1547678bd89053929623b55c9dead84a164 (diff)
Fix "signed/unsigned comparison" warning in itrcrsr.cxx.
-rw-r--r--sw/source/core/text/itrcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index ee7307a3b2..3c4bebd7ac 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;