[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Thu Oct 9 05:16:14 PDT 2014


 svx/source/dialog/pagectrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8d0f9675021a07261b2182fb3192c26e2263eff8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 9 14:15:44 2014 +0200

    -Werror,-Wliteral-conversion (implicit conversion from double to long)
    
    Change-Id: I89095491d67c382a0b3280755d723039f48229f1

diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 7aa7e8b..998271e 100644
--- a/svx/source/dialog/pagectrl.cxx
+++ b/svx/source/dialog/pagectrl.cxx
@@ -128,7 +128,7 @@ void SvxPageWindow::Paint(const Rectangle&)
             // Draw Landscape page of the same size
             boost::rational<long> aX = aMapMode.GetScaleX();
             boost::rational<long> aY = aMapMode.GetScaleY();
-            boost::rational<long> a2(1.5);
+            boost::rational<long> a2(3, 2);
             aX *= a2;
             aY *= a2;
             aMapMode.SetScaleX(aX);


More information about the Libreoffice-commits mailing list