[Libreoffice-commits] core.git: sw/source
Julien Nabet
serval2412 at yahoo.fr
Sun Jun 16 13:35:32 PDT 2013
sw/source/core/crsr/swcrsr.cxx | 2 +-
sw/source/core/doc/tblrwcl.cxx | 2 +-
sw/source/filter/html/svxcss1.cxx | 1 +
sw/source/filter/xml/xmltbli.cxx | 1 +
sw/source/ui/index/cnttab.cxx | 1 +
5 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 2f4012a9773421a49d8bfb9a4a96a3c5f1d8652b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Jun 16 22:34:50 2013 +0200
cppcheck: fix some uninitMemberVar in sw part
Change-Id: I6492f87b9ca04a67c738da1ea173df98e382951a
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index af9dd90..6b4a772 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -62,7 +62,7 @@ struct _PercentHdl
bool bBack, bNodeIdx;
_PercentHdl( sal_uLong nStt, sal_uLong nEnd, SwDocShell* pSh )
- : pDSh( pSh )
+ : pDSh(pSh), bBack(false), bNodeIdx(false)
{
nActPos = nStt;
if( 0 != ( bBack = (nStt > nEnd )) )
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 0de8a73..c0dd49d 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -106,7 +106,7 @@ struct CR_SetBoxWidth
CR_SetBoxWidth( sal_uInt16 eType, SwTwips nDif, SwTwips nSid, SwTwips nTblW,
SwTwips nMax, SwTableNode* pTNd )
- : pTblNd( pTNd ),
+ : pTblNd( pTNd ), pUndo( 0 ),
nDiff( nDif ), nSide( nSid ), nMaxSize( nMax ), nLowerDiff( 0 ),
nTblWidth( (sal_uInt16)nTblW ), nRemainWidth( 0 ), nBoxWidth( 0 ),
bSplittBox( false ), bAnyBoxFnd( false )
diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 7c3369d..feeec80 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -724,6 +724,7 @@ SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const String& rBaseURL, sal_uI
pSheetItemSet(0),
pItemSet(0),
pSearchEntry( 0 ),
+ pPropInfo( 0 ),
nMinFixLineSpace( nMinFixLineSp ),
eDfltEnc( RTL_TEXTENCODING_DONTKNOW ),
nScriptFlags( CSS1_SCRIPT_ALL ),
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 7756ab5..1953bfe 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -181,6 +181,7 @@ class SwXMLTableCell_Impl
public:
SwXMLTableCell_Impl( sal_uInt32 nRSpan=1UL, sal_uInt32 nCSpan=1UL ) :
+ dValue( 0.0 ),
pStartNode( 0 ),
nRowSpan( nRSpan ),
nColSpan( nCSpan ),
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 783d38d..c5a4d3d 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3892,6 +3892,7 @@ SwEntryBrowseBox::SwEntryBrowseBox(Window* pParent, VclBuilderContainer* pBuilde
BROWSER_HIDECURSOR )
, aCellEdit(&GetDataWindow(), 0)
, aCellCheckBox(&GetDataWindow())
+ , nCurrentRow(0)
, bModified(false)
{
sSearch = pBuilder->get<Window>("searchterm")->GetText();
More information about the Libreoffice-commits
mailing list