summaryrefslogtreecommitdiff
path: root/svx/source/dialog/_contdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r--svx/source/dialog/_contdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 712544ff0c01..fbd6f40bc547 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -382,17 +382,17 @@ IMPL_LINK(SvxSuperContourDlg, Tbx1ClickHdl, const OString&, rId, void)
else if (rId == "TBI_RECT")
{
SetActiveTool(rId);
- m_xContourWnd->SetObjKind( OBJ_RECT );
+ m_xContourWnd->SetObjKind( SdrObjKind::Rectangle );
}
else if (rId == "TBI_CIRCLE")
{
SetActiveTool(rId);
- m_xContourWnd->SetObjKind( OBJ_CIRC );
+ m_xContourWnd->SetObjKind( SdrObjKind::CircleOrEllipse );
}
else if (rId == "TBI_POLY")
{
SetActiveTool(rId);
- m_xContourWnd->SetObjKind( OBJ_POLY );
+ m_xContourWnd->SetObjKind( SdrObjKind::Polygon );
}
else if (rId == "TBI_POLYEDIT")
{