summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-10-07 18:36:58 +0200
committerIngrid Halama <iha@openoffice.org>2010-10-07 18:36:58 +0200
commit5c43db9393f0581bbeb712cb4faf037554b5370e (patch)
tree37d5c789652a4fc27ea7a5186baac8d3a379cc70 /chart2
parentb2f916eaf3425088cfcfe06c8dfcd5aae30aa7b7 (diff)
chart49: #i112500# compiler warning
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/source/tools/DiagramHelper.cxx4
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 ),