diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-30 13:46:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-07-01 13:30:12 +0200 |
commit | 3350fabd23859eb5fdbe77c6db9248866d4e2995 (patch) | |
tree | e937f2471305632053fbfcde618394ca5a12e9c3 | |
parent | 3d399b0e45720354fc64dc3d121ee486e01eff89 (diff) |
SwXAutoStyle::GetPropertyValues_Impl: fix handling of CharAutoStyleName
Without this, all character properties defined inside automatic styles
are ignored.
Change-Id: I3c25f5d36503a9f40834dd88573a40c34380b967
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index e0c3bd67cb13..b532237476fe 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -4609,7 +4609,8 @@ uno::Sequence< uno::Any > SwXAutoStyle::GetPropertyValues_Impl( if ( RES_TXTATR_AUTOFMT == pEntry->nWID || RES_AUTO_STYLE == pEntry->nWID ) { - pValues[i] <<= StylePool::nameOf( mpSet ); + OUString sName(StylePool::nameOf( mpSet )); + aTarget <<= sName; bDone = true; } else if(bTakeCareOfDrawingLayerFillStyle) |