summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-18 10:22:29 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-05 12:02:04 +0100
commit00a4f761b203135c69f5a46e2099716acc7a8676 (patch)
treef097de0614f38b96cb85c3cb4975f246ec3a03ee /sw
parentbfbd249e883b84ed617eb45558dd8ea0295a93b8 (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>
Diffstat (limited to 'sw')
-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();
};