summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/print3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 482420333060..817e6d54b602 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -773,7 +773,7 @@ PrinterController::PageSize vcl::ImplPrinterControllerData::modifyJobSetup( cons
PrinterController::PageSize aPageSize;
aPageSize.aSize = mpPrinter->GetPaperSize();
awt::Size aSetSize, aIsSize;
- sal_Int32 nPaperBin = mnDefaultPaperBin;
+ sal_Int32 nPaperBin = (mnFixedPaperBin != -1) ? mnFixedPaperBin : mnDefaultPaperBin;
for( sal_Int32 nProperty = 0, nPropertyCount = i_rProps.getLength(); nProperty < nPropertyCount; ++nProperty )
{
if( i_rProps[ nProperty ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "PreferredPageSize" ) ) )
nd on GetSizePixelCaolán McNamara 2020-05-15loplugin:unnecessaryvirtualNoel Grandin 2019-10-03loplugin:virtualdeadNoel Grandin 2019-09-26now drop TabPageParent intermediateCaolán McNamara 2018-12-20tdf#42949 Fix IWYU warnings in include/vcl/[t-u]*Gabor Kelemen 2018-10-15weld ChartTypeDialog and SchLayoutTabPageCaolán McNamara 2018-04-23move GetConfigId from TabPage to SfxTabPageCaolán McNamara 2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna 2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann 2016-08-25GSoC notebookbar: container with context supportSzymon Kłos