sw/source/core/unocore/unostyle.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4dc823990ab217cb9d07a0555d3015d43380fdf5 Author: Maxim Monastirsky <momonas...@gmail.com> Date: Tue May 16 01:19:02 2017 +0300 tdf#107852 Support DisplayName property for table styles Change-Id: I62bfdbea0a1bc62677d5fe25043e9251811b3ac7 Reviewed-on: https://gerrit.libreoffice.org/37663 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonas...@gmail.com> diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index a8a1cd70b735..3f5175724ce9 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -4468,6 +4468,8 @@ css::uno::Any SAL_CALL SwXTextTableStyle::getPropertyValue(const OUString& rProp bIsRow = m_pTableAutoFormat->LastRowEndColumnIsRow(); else if (rPropertyName == UNO_NAME_TABLE_LAST_ROW_START_COLUMN) bIsRow = m_pTableAutoFormat->LastRowStartColumnIsRow(); + else if (rPropertyName == UNO_NAME_DISPLAY_NAME) + return uno::makeAny(m_pTableAutoFormat->GetName()); else throw css::beans::UnknownPropertyException(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits