diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-27 16:25:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-27 18:16:43 +0100 |
commit | 8c6a9daaf99830e1a2a560a9dd0abf3c1e4cfa48 (patch) | |
tree | 37b349ced405b4f4cf310e789d7cf75a16e5f1db /include | |
parent | 546945ad789d75b624b67f55130bd90f046e4f7b (diff) |
cid#1517055 Dereference before null check
Change-Id: Ibd26ac2bce15dced107f6aaf34d12a7819623f71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/menubarupdateicon.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/menubarupdateicon.hxx b/include/vcl/menubarupdateicon.hxx index 8e04c3f65a72..99aea9581a4f 100644 --- a/include/vcl/menubarupdateicon.hxx +++ b/include/vcl/menubarupdateicon.hxx @@ -66,7 +66,7 @@ private: sal_uInt16 GetIconID(MenuBar* pMenuBar) const; - void AddMenuBarIcon(SystemWindow* pSysWin, bool bAddEventHdl); + void AddMenuBarIcon(SystemWindow& rSysWin, bool bAddEventHdl); void RemoveMenuBarIcon(MenuBar* pMenuBar); void RemoveMenuBarIcons(); |