cid#1636576 Dereference null return value
since:
commit 43e511e642
CommitDate: Wed Dec 4 10:17:24 2024 +0100
tdf#88226 sd: fix cutting off the overflow text on the notes print page
Change-Id: I0a982a0a4213e220ec1bbd166e08bf14191eed0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178032
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
parent
88986086f9
commit
c97decfe2e
1 changed files with 1 additions and 2 deletions
|
@ -2454,9 +2454,8 @@ private:
|
||||||
rInfo.meOrientation,
|
rInfo.meOrientation,
|
||||||
nPaperBin));
|
nPaperBin));
|
||||||
}
|
}
|
||||||
else // Notes
|
else if (SdPage* pPage = GetFilteredPage(nPageIndex, PageKind::Notes))// Notes
|
||||||
{
|
{
|
||||||
SdPage* pPage = GetFilteredPage(nPageIndex, PageKind::Notes);
|
|
||||||
SdDrawDocument* pDocument = mrBase.GetMainViewShell()->GetDoc();
|
SdDrawDocument* pDocument = mrBase.GetMainViewShell()->GetDoc();
|
||||||
|
|
||||||
// Clone the current page to create an independent instance.
|
// Clone the current page to create an independent instance.
|
||||||
|
|
Loading…
Reference in a new issue