summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-16 20:28:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-17 09:44:25 +0200
commit9836a4796a3afacd96dff4be53dc4db527fbd3dd (patch)
tree120024897c298d20ff7d05525ee43456276f246a /sw/source/uibase
parent6e0d2738a5df0e16ebf343f44ef858aa81c18ab8 (diff)
cid#1484879 Uninitialized pointer field
Change-Id: I8ad6984faa52aa262a78bc9e9a47c9b19d30214e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115683 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/wrtsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index 3e7b5d7eaf89..1a094aebf91b 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.hxx
@@ -660,7 +660,7 @@ inline bool SwWrtShell::Is_FnDragEQBeginDrag() const
class MakeAllOutlineContentTemporarilyVisible
{
private:
- SwWrtShell* m_pWrtSh;
+ SwWrtShell* m_pWrtSh = nullptr;
bool m_bDone = false;
public:
static sal_uInt32 nLock;