Kaydet (Commit) e92c0d6f authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Fraction: Revert "-Werror,-Wliteral-conversion (implicit conversion from double to long)"

This reverts commit 8d0f9675.
üst 0c1f4e13
...@@ -128,7 +128,7 @@ void SvxPageWindow::Paint(const Rectangle&) ...@@ -128,7 +128,7 @@ void SvxPageWindow::Paint(const Rectangle&)
// Draw Landscape page of the same size // Draw Landscape page of the same size
boost::rational<long> aX = aMapMode.GetScaleX(); boost::rational<long> aX = aMapMode.GetScaleX();
boost::rational<long> aY = aMapMode.GetScaleY(); boost::rational<long> aY = aMapMode.GetScaleY();
boost::rational<long> a2(3, 2); boost::rational<long> a2(1.5);
aX *= a2; aX *= a2;
aY *= a2; aY *= a2;
aMapMode.SetScaleX(aX); aMapMode.SetScaleX(aX);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment