diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-09 14:15:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-09 14:15:44 +0200 |
commit | 8d0f9675021a07261b2182fb3192c26e2263eff8 (patch) | |
tree | 9a7567db9c38b9fcc0acf70f806d18779f84b10f /svx | |
parent | d4c1e55d7a61952b4569ce2f229cbae1cad65044 (diff) |
-Werror,-Wliteral-conversion (implicit conversion from double to long)
Change-Id: I89095491d67c382a0b3280755d723039f48229f1
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/pagectrl.cxx | 2 |
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); |