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@redhat.com>
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx
index d971202..512f6cc 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: