summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-25 20:24:04 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-25 21:07:24 -0600
commitb76a8689277a8d51af448268852cd872ba424de4 (patch)
tree7a368bff8cbb4020f27d576c608416303cd5df7b
parentb03cb2015f1a19b269cafffdece14159062afddb (diff)
coverity#708444 Unitialized scalar field
Change-Id: I6057dc839cebf0b16621f5989129f0c1cbe535ff
-rw-r--r--sw/source/core/text/inftxt.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 4c05a60c8b05..48ced12c2634 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -134,7 +134,10 @@ class SwTxtInfo
sal_Int32 nTxtStart; // TxtOfst for Follows
protected:
- SwTxtInfo() : pPara(0) {}
+ SwTxtInfo()
+ : pPara(0)
+ , nTxtStart(0)
+ {}
public:
void CtorInitTxtInfo( SwTxtFrm *pFrm );
SwTxtInfo( const SwTxtInfo &rInf );