diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-15 14:15:09 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-15 14:15:41 +0100 |
commit | 504aead0573befc744a00b8b1d68e3ebbaca8c47 (patch) | |
tree | 2e058662e0a6d9541e80047590056ac358ac1ac4 /vcl | |
parent | eeeb4d9a1c772b12aab515c8d5089fb6b5e003c7 (diff) |
Revert "fix setting of paper tray from print dialog (fdo#43932)"
This reverts commit 6d4cca9c22c52b5a7742adc47ebf1a2930e29764.
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 817e6d54b602..482420333060 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 = (mnFixedPaperBin != -1) ? mnFixedPaperBin : mnDefaultPaperBin; + sal_Int32 nPaperBin = mnDefaultPaperBin; for( sal_Int32 nProperty = 0, nPropertyCount = i_rProps.getLength(); nProperty < nPropertyCount; ++nProperty ) { if( i_rProps[ nProperty ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "PreferredPageSize" ) ) ) |