diff options
Diffstat (limited to 'vcl/source/window/printdlg.cxx')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 9944541fb91e..c50bd3ae351a 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -988,6 +988,8 @@ void PrintDialog::preparePreview( bool i_bMayUseCache ) Point aOff( aPrt->PixelToLogic( aPrt->GetPageOffsetPixel(), aMapMode ) ); aMtf.Move( aOff.X(), aOff.Y() ); } + // tdf#150561: page size may have changed so sync mePaper with it + mePaper = aPrt->GetPaper(); } mxPreview->setPreview( aMtf, aCurPageSize, |