sw/source/core/unocore/unomap.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9933c3631b5bd9d7b47d0d12c5a7dd292cf1944f
Author:     Maxim Monastirsky <momonas...@gmail.com>
AuthorDate: Mon Feb 1 16:14:44 2021 +0200
Commit:     Maxim Monastirsky <momonas...@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 <momonas...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to