tdf#155218 sc: fix incorrect print area
In the print dialog, changes to the page orientation should not alter the print area that is defined by the page style. issue caused by commit I5e494a0714e398221bee00744d7e25c419a41df7 (tdf#155218 sc: fix different page orientation in print dialog) Change-Id: I44eb3b30df0e8a227743df334da35316f86a0679 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163231 Tested-by: Jenkins Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
This commit is contained in:
parent
4179056285
commit
5ccee13baa
1 changed files with 1 additions and 0 deletions
|
@ -514,6 +514,7 @@ bool Printer::PreparePrintJob(std::shared_ptr<PrinterController> xController,
|
|||
PrintDialog aDlg(xController->getWindow(), xController);
|
||||
if (!aDlg.run())
|
||||
{
|
||||
xController->getPrinter()->SetUsePrintDialogSetting(false);
|
||||
xController->abortJob();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue