diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-02-17 12:40:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-02-17 19:38:53 +0000 |
commit | fc1c9d7ce98a5405785907d8d18db9354b32b824 (patch) | |
tree | 8cff085c6ded9c350ab108cfc14fca9fa6d1f744 /sw/inc | |
parent | 302a22cd19e6f6963fc8eb0b9a581c7eff5e5430 (diff) |
use a reference here to flag its never null
Change-Id: I92b3c71458b2d65711ea30a3e14b9e387c973a73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147216
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/gotodlg.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/gotodlg.hxx b/sw/inc/gotodlg.hxx index 0007bc2788cc..0d10da367f68 100644 --- a/sw/inc/gotodlg.hxx +++ b/sw/inc/gotodlg.hxx @@ -28,7 +28,7 @@ class SwView; class SwGotoPageDlg final : public weld::GenericDialogController { public: - SwGotoPageDlg(weld::Window *parent, SfxBindings* _pBindings); + SwGotoPageDlg(weld::Window *parent, SfxBindings& rBindings); sal_uInt16 GetPageSelection() const { @@ -37,7 +37,7 @@ public: private: SwView *m_pCreateView; - SfxBindings *m_rBindings; + SfxBindings& m_rBindings; sal_uInt16 mnMaxPageCnt; std::unique_ptr<weld::SpinButton> mxMtrPageCtrl; |