summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-30 15:26:42 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-30 17:08:47 +0200
commit6162ce7feb89d2f973ce1077b76ca691f00df1ac (patch)
tree1a93ecf8e9702a0edd02fc921190ea5289509f05 /chart2
parent8ac95ba6904d68f746e44f276c4297c345182cbf (diff)
set first position and then size, fdo#75075
Change-Id: Ica8a82619f492bd30929ce88198f621f7a1f88a2
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ShapeFactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx
index 1652673b6c35..989337f00c33 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -2067,8 +2067,8 @@ uno::Reference< drawing::XShape > ShapeFactory::createRectangle(
else
xTarget->add(xShape);
- xShape->setSize( rSize );
xShape->setPosition( rPosition );
+ xShape->setSize( rSize );
uno::Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY_THROW );
PropertyMapper::setMultiProperties( rPropNames, rPropValues, xPropSet );
}