summaryrefslogtreecommitdiff
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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx
index c53b4dc75282..c2aebd913b88 100644
--- a/chart2/source/view/main/VButton.cxx
+++ b/chart2/source/view/main/VButton.cxx
@@ -43,7 +43,7 @@ void VButton::init(const rtl::Reference<SvxShapeGroupAnyD>& xTargetPage)
rtl::Reference<SvxShapePolyPolygon> VButton::createTriangle(awt::Size aSize)
{
rtl::Reference<SvxShapePolyPolygon> xShape = new SvxShapePolyPolygon(nullptr);
- xShape->setShapeKind(OBJ_POLY);
+ xShape->setShapeKind(SdrObjKind::Polygon);
drawing::PolyPolygonShape3D aPolyPolygon;
aPolyPolygon.SequenceX.realloc(1);