diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index dd1192c21a9d..12aa14628887 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -984,6 +984,7 @@ void PrintDialog::preparePreview( bool i_bMayUseCache ) { PrinterController::PageSize aPageSize = maPController->getFilteredPageFile( mnCurPage, aMtf, i_bMayUseCache ); + aCurPageSize = aPrt->PixelToLogic(aPrt->GetPaperSizePixel(), MapMode(MapUnit::Map100thMM)); if( ! aPageSize.bFullPaper ) { const MapMode aMapMode( MapUnit::Map100thMM );