summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-19 15:49:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-20 09:51:17 +0100
commit0c69f9c627f6eb25f1df26fb63bc511bbac4667a (patch)
tree4be85ae8f366cbfd26c2f8b76c337947967596d2 /sw
parent0f0a80123d970ef6f3f8269619813e5277fff4df (diff)
coverity#1430100 Uninitialized pointer field
Change-Id: I6d544b97c2b22a16d6a12b898cbe25580c433b61 Reviewed-on: https://gerrit.libreoffice.org/51570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/attr/calbck.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index a0f82b381841..8f97761e38fe 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -28,8 +28,8 @@
sw::LegacyModifyHint::~LegacyModifyHint() {}
sw::ModifyChangedHint::~ModifyChangedHint() {}
-
SwClient::SwClient(SwClient&& o)
+ : m_pRegisteredIn(nullptr)
{
if(o.m_pRegisteredIn)
{
@@ -38,7 +38,6 @@ SwClient::SwClient(SwClient&& o)
}
}
-
SwClient::~SwClient()
{
if(GetRegisteredIn())