diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-02 04:35:31 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-10-04 09:36:27 -0500 |
commit | 51183d5ab6d83667dcf761dad05105d7341936a1 (patch) | |
tree | 6bc7b9fd65747496dc03d7e3105890711bef80c6 /sdext | |
parent | eff06c85b1263a761657bb3689f7b850db1f0341 (diff) |
coverity#1242725 Result is not floating-point
Change-Id: I007ef5efa07f9124a08e049bca01aac87acfa48e
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterHelpView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index 3787d754c5d7..c7a429cc3644 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -291,8 +291,8 @@ void PresenterHelpView::Paint (const awt::Rectangle& rUpdateBox) PresenterCanvasHelper::SetDeviceColor(aRenderState, mpFont->mnColor); mxCanvas->drawLine( - geometry::RealPoint2D(aWindowBox.Width/2, gnVerticalBorder), - geometry::RealPoint2D(aWindowBox.Width/2, mnSeparatorY - gnVerticalBorder), + geometry::RealPoint2D((double)(aWindowBox.Width/2), gnVerticalBorder), + geometry::RealPoint2D((double)(aWindowBox.Width/2), mnSeparatorY - gnVerticalBorder), aViewState, aRenderState); |