diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-11 16:44:46 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-12 10:40:33 +0100 |
commit | f49ef63f8ab5c6c9740eff4fdc52e8776f84e473 (patch) | |
tree | db45f20bcb799e87532d5b21d0c866a9aabcb92f /svx | |
parent | acc78c5c0bcb435d7149f755dcb89af6e2f9d353 (diff) |
jsdialogs: send .uno:LineWidth updates
Change-Id: I83856625d17910e5b9165c7a2ddae8b219650c8c
Reviewed-on: https://gerrit.libreoffice.org/82455
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit a3d08f4f8c3c958a33ce05398127c35dad81dc4b)
Reviewed-on: https://gerrit.libreoffice.org/82485
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdedtv1.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 53bf8eb1d519..3a325152d4dd 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -954,6 +954,19 @@ void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) con sPayload = ".uno:FillColor=" + sPayload; break; } + + case XATTR_LINEWIDTH: + { + const SfxPoolItem* pItem = rSet.GetItem(XATTR_LINEWIDTH); + if (pItem) + { + sal_uInt32 nWidth = static_cast<const XLineWidthItem*>(pItem)->GetValue(); + sPayload = OUString::number(nWidth); + + sPayload = ".uno:LineWidth=" + sPayload; + } + break; + } } GetSfxViewShell()->libreOfficeKitViewCallback(LOK_CALLBACK_STATE_CHANGED, |