[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sw/source

Maxim Monastirsky (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 10 09:33:26 UTC 2021


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

New commits:
commit d803e27ab9fd779720bcf970834d74b41ab90f65
Author:     Maxim Monastirsky <momonasmon at gmail.com>
AuthorDate: Mon Feb 1 16:14:44 2021 +0200
Commit:     Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Wed Feb 10 10:32:50 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>
    (cherry picked from commit 9933c3631b5bd9d7b47d0d12c5a7dd292cf1944f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110568
    Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>

diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index 0ae02dedefed..fc8d3713c4a2 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -1492,6 +1492,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