diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-16 01:19:02 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-16 11:20:06 +0200 |
commit | 4dc823990ab217cb9d07a0555d3015d43380fdf5 (patch) | |
tree | fbc48291e45d1108a1b6532c01a5deb5d79d9390 /sw | |
parent | bbecc255ab2a9b3e8e2d6203eff8a03f24751046 (diff) |
tdf#107852 Support DisplayName property for table styles
Change-Id: I62bfdbea0a1bc62677d5fe25043e9251811b3ac7
Reviewed-on: https://gerrit.libreoffice.org/37663
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |