[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at iki.fi
Sun Mar 3 13:01:27 PST 2013
vcl/source/window/printdlg.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit c7b82aa4c36ced5927f7a29db20664e53ea4810b
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Mar 3 23:00:56 2013 +0200
WaE: unused variable 'aPreviewMMSize'
Change-Id: I98ca154f800c635ca063ed7c3bd1b9afc5d8110b
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index bfceb7e..00c2f69 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();
More information about the Libreoffice-commits
mailing list