[Libreoffice-commits] core.git: Branch 'feature/aoo-fillattribute' - sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Jun 30 04:50:44 PDT 2014
sw/source/core/unocore/unostyle.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ae5f568798d28cd0104e391338e83bb07acf6c03
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Jun 30 13:46:04 2014 +0200
SwXAutoStyle::GetPropertyValues_Impl: fix handling of CharAutoStyleName
Without this, all character properties defined inside automatic styles
are ignored.
Change-Id: I3c25f5d36503a9f40834dd88573a40c34380b967
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 1be74cd..269c1ba 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -4610,7 +4610,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)
More information about the Libreoffice-commits
mailing list