From 932901224ea8473bbcae6feced953340d489bcc5 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Wed, 14 Aug 2013 16:28:09 +0200 Subject: fdo#43807: Fix import of drop caps character style Export works and import has just a little typo. Change-Id: I570d70423b5a626f21117971fb7eff030eae20af --- xmloff/source/text/txtimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index eb74f00fd47f..2798ab0be7c8 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -1676,7 +1676,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs( XML_STYLE_FAMILY_TEXT_TEXT, pStyle->GetDropCapStyleName()) ); if (m_pImpl->m_xTextStyles->hasByName(sDisplayName) && - xPropSetInfo->hasPropertyByName( sDisplayName ) ) + xPropSetInfo->hasPropertyByName( pStyle->sDropCapCharStyleName ) ) { xPropSet->setPropertyValue( pStyle->sDropCapCharStyleName, makeAny(sDisplayName) ); } -- cgit