summaryrefslogtreecommitdiff
path: root/vcl/source/window/printdlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:52:06 +0200
commit165c643c936dda1a75e084157a03d0f52a5ea381 (patch)
treee631d5b9b1d0c91042cefdc78c1f3ba3bebfe7ba /vcl/source/window/printdlg.cxx
parentf2937f2a6f0355005875e1e6409a09b28193b448 (diff)
loplugin:defaultparams
Change-Id: I8db42173f116372b1c849284540c111635c3582e
Diffstat (limited to 'vcl/source/window/printdlg.cxx')
-rw-r--r--vcl/source/window/printdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index f11cb96982dd..d741dd015f00 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1179,7 +1179,7 @@ void PrintDialog::setupOptionalUI()
if (!maNUpPage.mpBrochureBtn->IsVisible() && maNUpPage.mpPagesBtn->IsVisible())
{
maNUpPage.mpPagesBoxTitleTxt->SetText( maNUpPage.mpPagesBtn->GetText() );
- maNUpPage.mpPagesBoxTitleTxt->Show( true );
+ maNUpPage.mpPagesBoxTitleTxt->Show();
maNUpPage.mpPagesBtn->Show( false );
}
@@ -1527,7 +1527,7 @@ IMPL_LINK_TYPED( PrintDialog, SelectHdl, ListBox&, rBox, void )
maPController->resetPrinterOptions( maOptionsPage.mpToFileBox->IsChecked() );
// update text fields
updatePrinterText();
- preparePreview( true );
+ preparePreview();
}
else if( &rBox == maNUpPage.mpNupOrientationBox || &rBox == maNUpPage.mpNupOrderBox )
{
@@ -1640,7 +1640,7 @@ IMPL_LINK_TYPED( PrintDialog, ClickHdl, Button*, pButton, void )
maPController->setupPrinter( this );
// tdf#63905 don't use cache: page size may change
- preparePreview( true );
+ preparePreview();
}
checkControlDependencies();
}