[Libreoffice-commits] core.git: svx/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 13 13:14:17 UTC 2019
svx/source/svdraw/svdedtv1.cxx | 14 ++++++++++++++
1 file changed, 14 insertions(+)
New commits:
commit b42333fab5614c4a7128f9e05e679306a20a7439
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Nov 13 12:28:31 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Nov 13 14:13:31 2019 +0100
jsdialogs: send .uno:LineTransparence updates
Change-Id: Ib6a2f5fd85e3e8c2cc8eb96c4b75f2357b669388
Reviewed-on: https://gerrit.libreoffice.org/82585
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 6a143c2f0c40..29a832d27cb2 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -67,6 +67,7 @@
#include <svx/svdview.hxx>
#include <svx/xlnclit.hxx>
#include <svx/xflclit.hxx>
+#include <svx/xlntrit.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <rtl/ustring.hxx>
#include <sfx2/viewsh.hxx>
@@ -963,6 +964,19 @@ void SdrEditView::MergeAttrFromMarked(SfxItemSet& rAttr, bool bOnlyHardAttr) con
break;
}
+ case XATTR_LINETRANSPARENCE:
+ {
+ const SfxPoolItem* pItem = rSet.GetItem(XATTR_LINETRANSPARENCE);
+ if (pItem)
+ {
+ sal_uInt16 nTransparency = static_cast<const SfxUInt16Item*>(pItem)->GetValue();
+ sPayload = OUString::number(nTransparency);
+
+ sPayload = ".uno:LineTransparence=" + sPayload;
+ }
+ break;
+ }
+
case XATTR_LINEWIDTH:
{
const SfxPoolItem* pItem = rSet.GetItem(XATTR_LINEWIDTH);
More information about the Libreoffice-commits
mailing list