sw: fix assert in SwViewShell::FillPrtDoc()
commit6996cddfb8b1aa45c77caf6cdc973b1e548cfe86
authorMichael Stahl <Michael.Stahl@cib.de>
Wed, 19 Dec 2018 11:45:20 +0000 (19 12:45 +0100)
committerMichael Stahl <Michael.Stahl@cib.de>
Wed, 19 Dec 2018 14:53:07 +0000 (19 15:53 +0100)
treee1bb64d65f6ebb68f035c8d292efddc84eeb6325
parent422b12bc13b34f4e99f79b2571b89296873ebe89
sw: fix assert in SwViewShell::FillPrtDoc()

The point node isn't necessarily the start node; this will assert in
SwTextFrame::MapModelToView: Assertion `SwFrame::GetDep() == pNode' failed
when selecting a table and then File->Print->Print Selection.

Thanks Samuel for the hint.

(regression from 067a53bbcd209d7458b04142f989e1ff7ec1f785)

Change-Id: I7f58b79e068e8b7817261e81f999721ebfcfdcf1
Reviewed-on: https://gerrit.libreoffice.org/65421
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
sw/source/core/view/vprint.cxx