sw/source/core/frmedt/feshview.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 4ee3d213e8d3c4afdc3714b50def117dfe5c8023 Author: Jeff Huang <j...@mail.ossii.com.tw> AuthorDate: Mon Apr 12 14:16:02 2021 +0800 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Apr 19 09:10:59 2021 +0200 tdf#141525 Fix "Line with Arrow/Circle" insertion error. When you insert "Line with Arrow/Circle" from "Lines and Arrows", it will show "Line Starts with Arrow" instead of "Line with Arrow/Circle". This patch can fix this issue. (This issue exists at least since 6.3 series.) Change-Id: I827b9582951fe359d89245970e73d63f7697553f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113963 Tested-by: Jenkins Reviewed-by: Mark Hung <mark...@gmail.com> (cherry picked from commit 2b498e380a91a536d177376e854cf3a6e2fb0b35) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114179 Reviewed-by: Po-Yen Huang <j...@mail.ossii.com.tw> Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 767e4e7f16e8..439d99e9e2d7 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -1004,6 +1004,14 @@ void SwFEShell::SetLineEnds(SfxItemSet& rAttr, SdrObject const & rObj, sal_uInt1 // and again, for the still missing ends switch (nSlotId) { + case SID_LINE_ARROW_CIRCLE: + { + // circle end + rAttr.Put(XLineEndItem(SvxResId(RID_SVXSTR_CIRCLE), aCircle)); + rAttr.Put(XLineEndWidthItem(nWidth)); + } + break; + case SID_LINE_CIRCLE_ARROW: { // circle start _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits