From e92c0d6f9b7a6251e00dc55219a203a7e53c96e2 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 23 Oct 2014 17:33:18 +0200 Subject: Fraction: Revert "-Werror,-Wliteral-conversion (implicit conversion from double to long)" This reverts commit 8d0f9675021a07261b2182fb3192c26e2263eff8. --- svx/source/dialog/pagectrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index 998271eafb3d..7aa7e8b167ed 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 aX = aMapMode.GetScaleX(); boost::rational aY = aMapMode.GetScaleY(); - boost::rational a2(3, 2); + boost::rational a2(1.5); aX *= a2; aY *= a2; aMapMode.SetScaleX(aX); -- cgit