summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-18 10:22:29 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-09-19 19:23:40 +0000
commit9471b1704f64a0c08f76ad8d88eff58be7ed414a (patch)
tree3d2c1deebc4c031c845e5474febfadef75e01dab
parentfeb79618508ce7888ae684dcd4501124579eeac2 (diff)
Resolves: fdo#69220 crash in doc (ww6)
Change-Id: I5a09d121a0b0342f28ba5d2d39027b27e9c9eba2 (cherry picked from commit 2e93541d00f9d4aaa6ad2aeb35ee0c901d216cc0) Reviewed-on: https://gerrit.libreoffice.org/5990 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-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 84112df29721..23f0895a04da 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -797,7 +797,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();
};