[Libreoffice-commits] core.git: sw/inc
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Nov 30 08:50:43 UTC 2020
sw/inc/paratr.hxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 79ec66700266a22966d9e308a716be56c9c3a4a7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Nov 29 20:47:32 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Nov 30 09:49:53 2020 +0100
ofz#28041 Null-dereference
since...
commit 089bb2f3bd2b5fc8118caaa6b7c6b82dd36a094e
Date: Sun Nov 22 21:15:13 2020 +0100
Refactor SwFormatDrop
... and get rid of the SwClientNotifyCall.
Change-Id: I6c320d2b14fc393f00a9b13949a338886e386b6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106846
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx
index d9712028198c..512f6cca18df 100644
--- a/sw/inc/paratr.hxx
+++ b/sw/inc/paratr.hxx
@@ -80,7 +80,11 @@ private:
protected:
virtual void SwClientNotify(const SwModify&, const SfxHint&) override
- { m_pDefinedIn->FormatDropNotify(*this); };
+ {
+ if (!m_pDefinedIn)
+ return;
+ m_pDefinedIn->FormatDropNotify(*this);
+ }
public:
More information about the Libreoffice-commits
mailing list