summaryrefslogtreecommitdiff
path: root/sw/inc/viewsh.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-29 15:34:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-29 20:22:22 +0200
commit89f0a8be6742e23331819324f80f679f8e6cc601 (patch)
treeba9a98db654756bd7a0f3744a52573acec6ce2db /sw/inc/viewsh.hxx
parent663ce5d0f89e9523183ed9ca4cbfcdacf9df4cc8 (diff)
SwNodes never passed a null SwDoc*
and some more like that Change-Id: I02dae666d8935a90afd9c43cfb32a048c69a1d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103628 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r--sw/inc/viewsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 23409190bdf8..57fae99e99ba 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -361,7 +361,7 @@ public:
vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect );
// Fill temporary doc with selected text for Print or PDF export.
- void FillPrtDoc( SwDoc* pPrtDoc, const SfxPrinter* pPrt );
+ void FillPrtDoc( SwDoc& rPrtDoc, const SfxPrinter* pPrt );
// Called internally for Shell. Formats pages.
void CalcPagesForPrint( sal_uInt16 nMax );