[Libreoffice-commits] core.git: sw/source
Maxim Monastirsky (via logerrit)
logerrit at kemper.freedesktop.org
Sat Feb 6 21:39:56 UTC 2021
sw/source/core/unocore/unomap.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9933c3631b5bd9d7b47d0d12c5a7dd292cf1944f
Author: Maxim Monastirsky <momonasmon at gmail.com>
AuthorDate: Mon Feb 1 16:14:44 2021 +0200
Commit: Maxim Monastirsky <momonasmon at gmail.com>
CommitDate: Sat Feb 6 22:39:13 2021 +0100
tdf#139529 Fix incomplete DisplayName property for table styles
Commit 4dc823990ab217cb9d07a0555d3015d43380fdf5 ("tdf#107852
Support DisplayName property for table styles") only handled
the getPropertyValue method, which isn't enough to make it
work with introspection, as used from Basic or the new dev
docking panel.
Change-Id: Ia4d90ab6030585dc469c0b274bef4b988ce647c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110468
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index abcb313351d0..ff415b7ab658 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -1491,6 +1491,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ u"" UNO_NAME_TABLE_FIRST_ROW_START_COLUMN, 0, cppu::UnoType<OUString>::get(), PROPERTY_NONE, 0 },
{ u"" UNO_NAME_TABLE_LAST_ROW_END_COLUMN, 0, cppu::UnoType<OUString>::get(), PROPERTY_NONE, 0 },
{ u"" UNO_NAME_TABLE_LAST_ROW_START_COLUMN, 0, cppu::UnoType<OUString>::get(), PROPERTY_NONE, 0 },
+ { u"" UNO_NAME_DISPLAY_NAME, 0, cppu::UnoType<OUString>::get(), PropertyAttribute::READONLY, 0 },
{ u"", 0, css::uno::Type(), 0, 0 }
};
m_aMapEntriesArr[nPropertyId] = aTableStyleMap;
More information about the Libreoffice-commits
mailing list