summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index ddf829bcea5a..292f2a2be8d0 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -517,10 +517,12 @@ Reference< XShape > const & Shape::createAndInsert(
if(aScale.getX() < 0)
{
mbFlipH = !mbFlipH;
+ aTransformation.scale(-1, 1);
}
if(aScale.getY() < 0)
{
mbFlipV = !mbFlipV;
+ aTransformation.scale(1, -1);
}
}
// rotate around object's center