diff options
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 2b5c7f637d62..f7d7b419154b 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -2331,7 +2331,7 @@ void VCLXWindow::setZoom( float fZoomX, float /*fZoomY*/ ) throw(::com::sun::sta // 1.200000000047something. To prevent this, we convert explicitly to double, and round it. double nZoom( fZoomX ); nZoom = ::rtl::math::round( nZoom, 4 ); - GetWindow()->SetZoom( rational_FromDouble( nZoom ) ); + GetWindow()->SetZoom( Fraction( nZoom ) ); } } |