summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/DummyXShape.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-03 08:39:03 +0200
committerNoel Grandin <noel@peralex.com>2016-05-04 12:39:40 +0200
commit58a32075ca4f457f570af75aef368dd6c389aca7 (patch)
treee437dcbdeb248b4316cb8a9281d1543419853f6d /chart2/source/view/main/DummyXShape.cxx
parent7d47700972d267fe7c5270c5dadd45a523a2baec (diff)
use Any constructor instead of temporaries
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
Diffstat (limited to 'chart2/source/view/main/DummyXShape.cxx')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 3b37fe40d000..f3cc72c2a91f 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -923,9 +923,7 @@ void SAL_CALL DummyText::setPosition(const awt::Point& rPosition )
void DummyText::setTransformatAsProperty(const drawing::HomogenMatrix3& rMatrix)
{
- uno::Any aNewTrans;
- aNewTrans <<= rMatrix;
- setPropertyValue("Transformation", aNewTrans);
+ setPropertyValue("Transformation", uno::Any(rMatrix));
}
DummyGroup3D::DummyGroup3D(const OUString& rName)