[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon May 17 07:45:09 UTC 2021


 sw/source/uibase/inc/wrtsh.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9836a4796a3afacd96dff4be53dc4db527fbd3dd
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun May 16 20:28:06 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon May 17 09:44:25 2021 +0200

    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 at redhat.com>

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;


More information about the Libreoffice-commits mailing list