diff options
Diffstat (limited to 'vcl/source/window/printdlg.cxx')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 05db90085456..9dd5fa29fc3d 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -535,8 +535,6 @@ PrintDialog::PrintDialog(vcl::Window* i_pWindow, const std::shared_ptr<PrinterCo , maNoPreviewStr( VclResId( SV_PRINT_NOPREVIEW ) ) , mnCurPage( 0 ) , mnCachedPages( 0 ) -, maCollateBmp(SV_PRINT_COLLATE_BMP) -, maNoCollateBmp(SV_PRINT_NOCOLLATE_BMP) , mbCollateAlwaysOff(false) , mbShowLayoutFrame( true ) , mbSingleJobs( false ) @@ -1079,7 +1077,7 @@ void PrintDialog::checkControlDependencies() else mpCollateBox->Enable( false ); - Image aImg(mpCollateBox->IsChecked() ? maCollateBmp : maNoCollateBmp); + Image aImg(StockImage::Yes, mpCollateBox->IsChecked() ? OUString(SV_PRINT_COLLATE_BMP) : OUString(SV_PRINT_NOCOLLATE_BMP)); Size aImgSize( aImg.GetSizePixel() ); |