summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2017-03-11 15:55:33 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-03-11 15:56:54 +0100
commit441534187d6a999e12e4588728023e01d9578770 (patch)
tree9143c23773cc8592f404618e27e010c0b1ae5ea3 /oox
parent71a646895d34e6ff273eb1ca0a7e99bd3b1e1163 (diff)
Use the converted shape rectanle here
Change-Id: I38092b9ca0de2c73a639588d441eff56eb88e33e
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/chartdrawingfragment.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/chartdrawingfragment.cxx b/oox/source/drawingml/chart/chartdrawingfragment.cxx
index 37261bf3497a..00bc99f7bd8e 100644
--- a/oox/source/drawingml/chart/chartdrawingfragment.cxx
+++ b/oox/source/drawingml/chart/chartdrawingfragment.cxx
@@ -218,8 +218,8 @@ void ChartDrawingFragment::onEndElement()
getLimitedValue< sal_Int32, sal_Int64 >( aShapeRectEmu.Height, 0, SAL_MAX_INT32 ) );
// Set the position and size before calling addShape().
- mxShape->setPosition(awt::Point(aShapeRectEmu.X, aShapeRectEmu.Y));
- mxShape->setSize(awt::Size(aShapeRectEmu.Width, aShapeRectEmu.Height));
+ mxShape->setPosition(awt::Point(aShapeRectEmu32.X, aShapeRectEmu32.Y));
+ mxShape->setSize(awt::Size(aShapeRectEmu32.Width, aShapeRectEmu32.Height));
basegfx::B2DHomMatrix aMatrix;
mxShape->addShape( getFilter(), getFilter().getCurrentTheme(), mxDrawPage, aMatrix, mxShape->getFillProperties(), &aShapeRectEmu32 );