summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-06-11 20:32:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-06-11 21:00:55 +0100
commitb1578655f2a0cdf31d343a8ccec080783a8bcefc (patch)
tree5fec0e830f8987ade24b03a9d62fdd8bad5180de /sw
parent0b555719403d494c40a7e12eb44e88cd28123a4f (diff)
coverity#1362687 Uninitialized pointer field
and coverity#1362688 Uninitialized pointer field Change-Id: Ie9711dc7131ee41e4acd9d0a628d63272bf2a0c6
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/app/docstyle.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx
index 277c222bc60c..f91c3fc1c9e7 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -448,7 +448,8 @@ SwDocStyleSheet::SwDocStyleSheet( SwDoc& rDocument,
pFrameFormat(nullptr),
pDesc(nullptr),
pNumRule(nullptr),
-
+ pTableFormat(nullptr),
+ pBoxFormat(nullptr),
rDoc(rDocument),
aCoreSet(GetPool().GetPool(), //UUUU sorted by indices, one double removed
RES_CHRATR_BEGIN, RES_CHRATR_END - 1, // [1
@@ -491,6 +492,8 @@ SwDocStyleSheet::SwDocStyleSheet( const SwDocStyleSheet& rOrg) :
pFrameFormat(rOrg.pFrameFormat),
pDesc(rOrg.pDesc),
pNumRule(rOrg.pNumRule),
+ pTableFormat(rOrg.pTableFormat),
+ pBoxFormat(rOrg.pBoxFormat),
rDoc(rOrg.rDoc),
aCoreSet(rOrg.aCoreSet),
bPhysical(rOrg.bPhysical)