diff options
Diffstat (limited to 'xmloff/source/text/txtimp.cxx')
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 3abafb5fd3f7..7795ce1e86a4 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -1686,7 +1686,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) ); } |