[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Thu Jul 3 07:04:55 PDT 2014
svx/source/dialog/pagectrl.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 0ed069ff8dc941bf902edfefd5c62f1ece3f8ad8
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 3 15:03:26 2014 +0100
fix regression in paper format preview
regression from 7d9bb549d498d6beed2c4050c402d09643febdfa
Change-Id: Iede5abe9fddfff48bd73d69f4b48e178aa2342d3
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 0094aed..ed2d580 100644
--- a/svx/source/dialog/pagectrl.cxx
+++ b/svx/source/dialog/pagectrl.cxx
@@ -83,7 +83,7 @@ SvxPageWindow::SvxPageWindow(Window* pParent)
{
// Count in Twips by default
SetMapMode(MapMode(MAP_TWIP));
- aWinSize = GetOutputSizePixel();
+ aWinSize = GetOptimalSize();
aWinSize.Height() -= 4;
aWinSize.Width() -= 4;
@@ -91,8 +91,6 @@ SvxPageWindow::SvxPageWindow(Window* pParent)
SetBackground();
}
-
-
SvxPageWindow::~SvxPageWindow()
{
delete pHdBorder;
More information about the Libreoffice-commits
mailing list