summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unodraw.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-13 21:45:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-13 22:09:32 +0200
commit77c3c53cff8c2b8af535c2cb0236314434ba8c45 (patch)
tree11fe3fe1db1105f9a57bfb44c7663ef673bd0557 /sw/source/core/unocore/unodraw.cxx
parent7b0eb08459f95986f2606c8ffd04ccab84d65fa0 (diff)
SwXShape: getter for ChainNext/PrevName UNO property
Change-Id: I7e4fffabf6b1d96a458a3afd141f86d0e4565230
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r--sw/source/core/unocore/unodraw.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index afbf447b8551..f4924b94f079 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -1542,8 +1542,14 @@ uno::Any SwXShape::getPropertyValue(const OUString& rPropertyName)
}
else if (pEntry->nWID == RES_CHAIN)
{
- if (pEntry->nMemberId == MID_CHAIN_NAME)
+ switch (pEntry->nMemberId)
+ {
+ case MID_CHAIN_PREVNAME:
+ case MID_CHAIN_NEXTNAME:
+ case MID_CHAIN_NAME:
SwTextBoxHelper::getProperty(pFmt, pEntry->nWID, pEntry->nMemberId, aRet);
+ break;
+ }
}
// #i28749#
else if ( FN_SHAPE_TRANSFORMATION_IN_HORI_L2R == pEntry->nWID )