summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-17 09:33:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-17 09:33:07 +0000
commit2a7db22c3825acdb0c36a9cefd5736d73e4fefbf (patch)
tree3132a5949edb899ed8a5920ec86a5c08315ed42c /sw
parentbc56c5f8817526679c65e7f49682b6595583c588 (diff)
coverity#707555 Uninitialized scalar variable
Change-Id: Ibba9295d34a0089127c6e09f59f9c0de6be386c5
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/inftxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index ad14afb98ac1..0819465c6118 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -617,7 +617,7 @@ void SwTxtPaintInfo::_DrawText( const XubString &rText, const SwLinePortion &rPo
rPor.InNumberGrp() ) ? 0 : GetSpaceAdd();
if ( nSpaceAdd )
{
- xub_StrLen nCharCnt;
+ xub_StrLen nCharCnt = 0;
// #i41860# Thai justified alignment needs some
// additional information:
aDrawInf.SetNumberOfBlanks( rPor.InTxtGrp() ?