diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-21 11:49:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-21 14:46:14 +0100 |
commit | e4aaf59f4801431d5bdd1aa6e18d2aa8eba39f1c (patch) | |
tree | 8d0c829887af05d06ec094898e4dac68bde9935b /cui/source/inc | |
parent | a9a4b82c9f5523fbd500a4db0933c5f5ab9902b6 (diff) |
cid#1500465 Dereference after null check
Change-Id: I3a9b1195c1694d6160c44da152b3502cdd501b3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130268
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index b5af2475a218..2ee9a78afd40 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -279,7 +279,7 @@ public: void SetBitmapList( XBitmapListRef const & pBmpLst) { m_pBitmapList = pBmpLst; } void SetPatternList( XPatternListRef const &pPtrnLst ) { m_pPatternList = pPtrnLst; } virtual void PageCreated(const SfxAllItemSet& aSet) override; - void CreatePage(sal_Int32 nId, SfxTabPage* pTab); + void CreatePage(sal_Int32 nId, SfxTabPage& rTab); void SetColorChgd( ChangeType* pIn ) { m_pnColorListState = pIn; } void SetGrdChgd( ChangeType* pIn ) { m_pnGradientListState = pIn; } void SetHtchChgd( ChangeType* pIn ) { m_pnHatchingListState = pIn; } |