summaryrefslogtreecommitdiffstats
path: root/chart2/source/view/main/VButton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VButton.cxx')
-rw-r--r--chart2/source/view/main/VButton.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx
index dc8e22c4961d..25a770fb04bc 100644
--- a/chart2/source/view/main/VButton.cxx
+++ b/chart2/source/view/main/VButton.cxx
@@ -15,7 +15,6 @@
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
#include <com/sun/star/drawing/TextHorizontalAdjust.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <CommonConverters.hxx>
#include <editeng/unoprnms.hxx>
@@ -70,11 +69,11 @@ rtl::Reference<SvxShapePolyPolygon> VButton::createTriangle(awt::Size aSize)
pInnerSequenceY[2] = 0.0;
pInnerSequenceZ[2] = 0.0;
- xShape->SvxShape::setPropertyValue("Name", uno::makeAny(m_sCID));
+ xShape->SvxShape::setPropertyValue("Name", uno::Any(m_sCID));
xShape->SvxShape::setPropertyValue(UNO_NAME_POLYPOLYGON,
uno::Any(PolyToPointSequence(aPolyPolygon)));
- xShape->SvxShape::setPropertyValue("LineStyle", uno::makeAny(drawing::LineStyle_NONE));
- xShape->SvxShape::setPropertyValue("FillColor", uno::makeAny(m_nArrowColor));
+ xShape->SvxShape::setPropertyValue("LineStyle", uno::Any(drawing::LineStyle_NONE));
+ xShape->SvxShape::setPropertyValue("FillColor", uno::Any(m_nArrowColor));
return xShape;
}