summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-15 14:15:09 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-15 14:15:41 +0100
commit504aead0573befc744a00b8b1d68e3ebbaca8c47 (patch)
tree2e058662e0a6d9541e80047590056ac358ac1ac4
parenteeeb4d9a1c772b12aab515c8d5089fb6b5e003c7 (diff)
Revert "fix setting of paper tray from print dialog (fdo#43932)"
-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 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" ) ) )