diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-03-11 15:55:33 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2017-03-11 15:56:54 +0100 |
commit | 441534187d6a999e12e4588728023e01d9578770 (patch) | |
tree | 9143c23773cc8592f404618e27e010c0b1ae5ea3 /oox | |
parent | 71a646895d34e6ff273eb1ca0a7e99bd3b1e1163 (diff) |
Use the converted shape rectanle here
Change-Id: I38092b9ca0de2c73a639588d441eff56eb88e33e
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/chart/chartdrawingfragment.cxx | 4 |
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 ); |