[Libreoffice-commits] core.git: sw/source
Maxim Monastirsky
momonasmon at gmail.com
Tue May 16 09:21:07 UTC 2017
sw/source/core/unocore/unostyle.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 4dc823990ab217cb9d07a0555d3015d43380fdf5
Author: Maxim Monastirsky <momonasmon at 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 <ci at libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon at 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();
More information about the Libreoffice-commits
mailing list