summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2017-11-22 14:39:39 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-12-20 13:53:55 +0100
commit45429e4518fb265dc817d96f41ad4238a5d09c65 (patch)
tree2210230e0f8e4a20708a5a2180182e3dc7b98814 /svtools
parent30b6545eb626a8ae91a0d3dd9f50b93efd180475 (diff)
tdf#79077: Cleanup PapersizeFromSetup related code
Change-Id: If77c43a7eb97de0a2e23195a9539f00e452343d8 Reviewed-on: https://gerrit.libreoffice.org/45096 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/prnsetup.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx
index d3a46048b2dc..d7a8b06a7900 100644
--- a/svtools/source/dialogs/prnsetup.cxx
+++ b/svtools/source/dialogs/prnsetup.cxx
@@ -293,10 +293,7 @@ IMPL_LINK_NOARG(PrinterSetupDialog, ImplPropertiesHdl, Button*, void)
{
if ( !mpTempPrinter )
mpTempPrinter = VclPtr<Printer>::Create( mpPrinter->GetJobSetup() );
- // 2nd argument: whether paper size and orientation from printer settings
- // override document settings, iow whether matching listboxes are editable
- // (this is a printer setup dialog, so they definitely should be editable)
- mpTempPrinter->Setup( this, true );
+ mpTempPrinter->Setup( this );
}