diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-10-07 18:36:58 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-10-07 18:36:58 +0200 |
commit | 5c43db9393f0581bbeb712cb4faf037554b5370e (patch) | |
tree | 37d5c789652a4fc27ea7a5186baac8d3a379cc70 /chart2 | |
parent | b2f916eaf3425088cfcfe06c8dfcd5aae30aa7b7 (diff) |
chart49: #i112500# compiler warning
Diffstat (limited to 'chart2')
-rwxr-xr-x | chart2/source/tools/DiagramHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index b0477e833aa6..b3ae733c4067 100755 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -1486,8 +1486,8 @@ awt::Rectangle DiagramHelper::getDiagramRectangleFromModel( const uno::Reference xDiaProps->getPropertyValue(C2U("RelativeSize") ) >>= aRelSize; awt::Size aAbsSize( - aRelSize.Primary * aPageSize.Width, - aRelSize.Secondary * aPageSize.Height ); + static_cast< sal_Int32 >( aRelSize.Primary * aPageSize.Width ), + static_cast< sal_Int32 >( aRelSize.Secondary * aPageSize.Height )); awt::Point aAbsPos( static_cast< sal_Int32 >( aRelPos.Primary * aPageSize.Width ), |