summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/print.cxx
diff options
context:
space:
mode:
authorTibor Nagy <tibor.nagy.extern@allotropia.de>2024-01-31 16:49:24 +0100
committerNagy Tibor <tibor.nagy.extern@allotropia.de>2024-02-09 12:06:01 +0100
commita67cd7b3cf03163f87811f7080cabc49750c4fd5 (patch)
treedcafe31ec7a97310ae2d94b822924769d50f9cb9 /vcl/source/gdi/print.cxx
parent7327752ef5d1fa2239cdd8355fb78da41c282717 (diff)
tdf#155218 sc: fix different page orientation in print dialog
The page orientation is correct if you set it in the page style first. However, if you change it in the Print dialog the page layout and size refresh but the content orientation remains the same. Change-Id: I5e494a0714e398221bee00744d7e25c419a41df7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162845 Tested-by: Jenkins Reviewed-by: Nagy Tibor <tibor.nagy.extern@allotropia.de>
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r--vcl/source/gdi/print.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 401d38118c38..81081afe64ef 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -449,6 +449,7 @@ void Printer::ImplInitData()
mbInPrintPage = false;
mbNewJobSetup = false;
mbSinglePrintJobs = false;
+ mbUsePrintSetting = false;
mpInfoPrinter = nullptr;
mpPrinter = nullptr;
mpDisplayDev = nullptr;