oox/source/drawingml/chart/chartdrawingfragment.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 441534187d6a999e12e4588728023e01d9578770 Author: Tamás Zolnai <tamas.zol...@collabora.com> Date: Sat Mar 11 15:55:33 2017 +0100 Use the converted shape rectanle here Change-Id: I38092b9ca0de2c73a639588d441eff56eb88e33e diff --git a/oox/source/drawingml/chart/chartdrawingfragment.cxx b/oox/source/drawingml/chart/chartdrawingfragment.cxx index 37261bf..00bc99f 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 );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits