diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 11:59:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-22 16:18:35 +0200 |
commit | 8ab0f754b4daa127cd2cbcc7a431438050ebce8a (patch) | |
tree | 715f4bd3151a80915de9b57cae4349c50f995acc /sw/inc | |
parent | 81839cbae6ba043ab72b6908b74344e64894e202 (diff) |
cid#1448361 silence Explicit null dereferenced
Change-Id: I70d5f91d9f4f66e7fdfee67c7d9398d5435e2374
Reviewed-on: https://gerrit.libreoffice.org/76115
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/docstyle.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index 0e159ac881ca..472ba6cd6c18 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -78,7 +78,7 @@ protected: public: SwDocStyleSheet( SwDoc& rDoc, - SwDocStyleSheetPool* pPool); + SwDocStyleSheetPool& rPool); SwDocStyleSheet( const SwDocStyleSheet& ); @@ -174,8 +174,8 @@ class SwStyleSheetIterator : public SfxStyleSheetIterator, public SfxListener char cType); public: - SwStyleSheetIterator( SwDocStyleSheetPool* pBase, - SfxStyleFamily eFam, SfxStyleSearchBits n ); + SwStyleSheetIterator(SwDocStyleSheetPool& rBase, + SfxStyleFamily eFam, SfxStyleSearchBits n); virtual ~SwStyleSheetIterator() override; virtual sal_uInt16 Count() override; |