summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-09 14:15:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-09 14:15:44 +0200
commit8d0f9675021a07261b2182fb3192c26e2263eff8 (patch)
tree9a7567db9c38b9fcc0acf70f806d18779f84b10f
parentd4c1e55d7a61952b4569ce2f229cbae1cad65044 (diff)
-Werror,-Wliteral-conversion (implicit conversion from double to long)
Change-Id: I89095491d67c382a0b3280755d723039f48229f1
-rw-r--r--svx/source/dialog/pagectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 7aa7e8b167ed..998271eafb3d 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);