summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2016-02-27 16:21:06 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2016-02-28 10:18:01 +0000
commit728c9ce48d4e84a6b44d7d50258936f5da34cea4 (patch)
treef1986bb469cb3664d28b50c0cd718ef3eed33bc1 /sw/source/uibase/uiview/viewdraw.cxx
parent1c85800345239754d5c4ec71c2aad526d0439eea (diff)
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 <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/22731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx5
1 files changed, 5 insertions, 0 deletions
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();