summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-02 17:48:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-02 20:02:53 +0100
commitc806247ecc9766a547f3a8451e997b64108d1411 (patch)
treece6cc125ce597ef31a9d8a602fd5078986403892 /sw
parente838a0714f9e5969b8bf1a26b8b94f0dbdec2f76 (diff)
cid#1452004 silence Explicit null dereferenced
Change-Id: I3cfc071f1ae1084801708ae82dc1f1f91402c08c Reviewed-on: https://gerrit.libreoffice.org/81944 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/app/docstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx
index 7c191a16a7e3..fae87682edf0 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -463,7 +463,7 @@ SwDocStyleSheet::SwDocStyleSheet( SwDoc& rDocument,
pBoxFormat(nullptr),
rDoc(rDocument),
aCoreSet(
- GetPool()->GetPool(),
+ rPool.GetPool(),
svl::Items<
RES_CHRATR_BEGIN, RES_CHRATR_END - 1,
RES_PARATR_BEGIN, RES_FRMATR_END - 1,