summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-10 17:50:47 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-10 18:03:51 +0200
commit08fe6f085b9614cec51269f30f969617dd55d7db (patch)
treeebf1575579c7888e113ee60da9e1c5b2c91457fb
parent836dd78edf07955a3232b5d33bc6aef2353865ae (diff)
coverity#1000869: use of unitialized variable
Change-Id: I3640f4c791e09e39998ec25858baebc37b58b6f6
-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 1a4660e911dd..e13bb5595bb3 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -1612,7 +1612,7 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, const Point &rPoint,
if ( nSpaceAdd )
{
- sal_Int32 nCharCnt;
+ sal_Int32 nCharCnt = 0;
// #i41860# Thai justified alignemt needs some
// additional information:
aDrawInf.SetNumberOfBlanks( pPor->InTxtGrp() ?