Kaydet (Commit) 93290122 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

fdo#43807: Fix import of drop caps character style

Export works and import has just a little typo.

Change-Id: I570d70423b5a626f21117971fb7eff030eae20af
üst ea358f5d
......@@ -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) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment