By now, NotebookBar::m_pViewShell is always null and
NotebookBar::m_rDisposeLink is unset.
The method NotebookBar::SetDisposeCallback which would
have set both members was dropped in
commit 6f81bce807
Date: Wed Jun 3 12:34:28 2026 +0200
loplugin:unusedmethods
, so drop the now pointless members altogether.
Change-Id: Ib6392c22094601ebcc2349938e553a845fe0be06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208273
Tested-by: Jenkins
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>