summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/printdlg.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index bfceb7e7b168..00c2f6970dd4 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -134,7 +134,6 @@ void PrintDialog::PrintPreviewWindow::Resize()
// full page size but not too small either. This also results in much better visual
// quality of the preview, e.g. when its height approaches the number of text lines
// find a good scaling factor
- Size aPreviewMMSize( maPageVDev.PixelToLogic( aScaledSize, MapMode( MAP_100TH_MM ) ) );
double aAspectRatio = aScaledSize.Height() / (double) aScaledSize.Width();