diff options
author | Tibor Nagy <tibor.nagy.extern@allotropia.de> | 2024-02-11 16:25:48 +0100 |
---|---|---|
committer | Nagy Tibor <tibor.nagy.extern@allotropia.de> | 2024-02-11 18:52:48 +0100 |
commit | 5ccee13baa29c9899c88519ad71ed18c3fe944c1 (patch) | |
tree | 48ecde69811d172cd5b66af5183f5ba28d2a479a /vcl/source/gdi/print3.cxx | |
parent | 4179056285395319d5fd5af77090359fc8b874a8 (diff) |
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>
Diffstat (limited to 'vcl/source/gdi/print3.cxx')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index dde3d8368116..a43bc41599cd 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -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; } |