summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-10 12:04:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-10 14:43:24 +0000
commit2d3121b3a02f0d8e3e6fe2e22010423cffc11d5a (patch)
tree114f238eeb89cdc9856daef0eafa215245ea4f5f /sw
parent4de3859d884549ef9f6e141b71592e69d51f6f94 (diff)
coverity#708467 Uninitialized pointer field
Change-Id: Ibff2bdae74f5403b55d93d944fd518a063adf72a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/fmtatr2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index 8782fdd41dfd..e612d4d0b155 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -654,7 +654,8 @@ namespace sw {
Meta::Meta(SwFmtMeta * const i_pFmt)
: ::sfx2::Metadatable()
, SwModify()
- , m_pFmt( i_pFmt )
+ , m_pFmt(i_pFmt)
+ , m_pTxtNode(0)
{
}