[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sun Feb 17 01:33:57 PST 2013
sw/source/core/text/inftxt.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2a7db22c3825acdb0c36a9cefd5736d73e4fefbf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Feb 17 09:33:07 2013 +0000
coverity#707555 Uninitialized scalar variable
Change-Id: Ibba9295d34a0089127c6e09f59f9c0de6be386c5
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index ad14afb..0819465 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() ?
More information about the Libreoffice-commits
mailing list