summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-18 10:22:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-18 10:22:51 +0100
commit2e93541d00f9d4aaa6ad2aeb35ee0c901d216cc0 (patch)
treea8468d3647609840e44d9903725891f5ac1bbaaf
parent65da01fa1d6e5da6c70694e6e494adc70c4b236a (diff)
Resolves: fdo#69220 crash in doc (ww6)
Change-Id: I5a09d121a0b0342f28ba5d2d39027b27e9c9eba2
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx16
1 files changed, 15 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 795ca8cc9ffa..e14db4543d85 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -811,7 +811,21 @@ struct WW8PLCFxDesc
//With nStartPos set to WW8_CP_MAX then in the case of a pap or chp
//GetSprms will not search for the sprms, but instead take the
//existing ones.
- WW8PLCFxDesc() : pIdStk(0), nStartPos(WW8_CP_MAX) {}
+ WW8PLCFxDesc()
+ : pIdStk(0)
+ , pMemPos(0)
+ , nOrigSprmsLen(0)
+ , nStartPos(WW8_CP_MAX)
+ , nEndPos(WW8_CP_MAX)
+ , nOrigStartPos(WW8_CP_MAX)
+ , nOrigEndPos(WW8_CP_MAX)
+ , nCp2OrIdx(WW8_CP_MAX)
+ , nSprmsLen(0)
+ , nCpOfs(0)
+ , bFirstSprm(false)
+ , bRealLineEnd(false)
+ {
+ }
void ReduceByOffset();
};