summaryrefslogtreecommitdiff
path: root/oox/source/xls
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-04-27 18:59:10 +0200
committerRadek Doulik <rodo@novell.com>2011-04-27 18:59:10 +0200
commita63a30f02aa6e32315e87328b331834992a57480 (patch)
tree4c8bed296c3beb6492c46aae88c154abcc922bb5 /oox/source/xls
parent7760ea353cebdcba352ee1220734d9f6af22fe16 (diff)
fix group shape transformations - part of n#621739
Diffstat (limited to 'oox/source/xls')
-rw-r--r--oox/source/xls/drawingfragment.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/xls/drawingfragment.cxx b/oox/source/xls/drawingfragment.cxx
index e7e627c9ac5a..ba3bd444bbeb 100644
--- a/oox/source/xls/drawingfragment.cxx
+++ b/oox/source/xls/drawingfragment.cxx
@@ -603,7 +603,8 @@ void DrawingFragment::onEndElement()
Rectangle aShapeRect = mxAnchor->calcEmuLocation( maEmuSheetSize );
if( (aShapeRect.X >= 0) && (aShapeRect.Y >= 0) && (aShapeRect.Width >= 0) && (aShapeRect.Height >= 0) )
{
- mxShape->addShape( getOoxFilter(), &getTheme(), mxDrawPage, &aShapeRect );
+ basegfx::B2DHomMatrix aTransformation;
+ mxShape->addShape( getOoxFilter(), &getTheme(), mxDrawPage, aTransformation, &aShapeRect );
/* Collect all shape positions in the WorksheetHelper base
class. But first, scale EMUs to 1/100 mm. */
const UnitConverter& rUnitConv = getUnitConverter();