diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-29 15:34:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-29 20:22:22 +0200 |
commit | 89f0a8be6742e23331819324f80f679f8e6cc601 (patch) | |
tree | ba9a98db654756bd7a0f3744a52573acec6ce2db /sw/source/uibase/uno | |
parent | 663ce5d0f89e9523183ed9ca4cbfcdacf9df4cc8 (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/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 017a2390aeb4..9412e103dbf6 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -650,7 +650,7 @@ SfxObjectShellLock SwXTextView::BuildTmpSelectionDoc() SwDoc *const pTempDoc( pDocSh->GetDoc() ); // #i103634#, #i112425#: do not expand numbering and fields on PDF export pTempDoc->SetClipBoard(true); - rOldSh.FillPrtDoc(pTempDoc, pPrt); + rOldSh.FillPrtDoc(*pTempDoc, pPrt); SfxViewFrame* pDocFrame = SfxViewFrame::LoadHiddenDocument( *xDocSh, SFX_INTERFACE_NONE ); SwView* pDocView = static_cast<SwView*>( pDocFrame->GetViewShell() ); pDocView->AttrChangedNotify(nullptr);//So that SelectShell is called. |