From 728c9ce48d4e84a6b44d7d50258936f5da34cea4 Mon Sep 17 00:00:00 2001 From: Gulsah Kose Date: Sat, 27 Feb 2016 16:21:06 +0200 Subject: tdf#89646 Add new buttons into Linetoolbox of writer drawbar. Freeline filled, Polygon filled, Bezier Filled, Polygon 45, Polygon 45 filled buttons are added into writer's LineToolbox. Change-Id: Idf2b3d7484feb78a0ed762a14d9fde587b6a46fa Signed-off-by: Gulsah Kose Reviewed-on: https://gerrit.libreoffice.org/22731 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- sw/source/uibase/uiview/viewdraw.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sw/source/uibase/uiview/viewdraw.cxx') diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 6d94b477d9f1..9c1e436f0f6d 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -255,9 +255,14 @@ void SwView::ExecDraw(SfxRequest& rReq) m_sDrawCustom.clear(); break; + case SID_DRAW_XPOLYGON_NOFILL: + case SID_DRAW_XPOLYGON: case SID_DRAW_POLYGON_NOFILL: + case SID_DRAW_POLYGON: case SID_DRAW_BEZIER_NOFILL: + case SID_DRAW_BEZIER_FILL: case SID_DRAW_FREELINE_NOFILL: + case SID_DRAW_FREELINE: pFuncPtr = new ConstPolygon(m_pWrtShell, m_pEditWin, this); m_nDrawSfxId = nSlotId; m_sDrawCustom.clear(); -- cgit v1.2.3