summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-08-14 16:28:09 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-20 13:33:48 +0000
commit6fd191c80a8c4637a1757b9d5132a33c6602f13b (patch)
treebb8abd3c15d96603c1525791c00792ee30577223 /xmloff
parent00b9cff4c7bc619fad54d14eea27cd6f46334850 (diff)
fdo#43807: Fix import of drop caps character style
Export works and import has just a little typo. Change-Id: I570d70423b5a626f21117971fb7eff030eae20af (cherry picked from commit 932901224ea8473bbcae6feced953340d489bcc5) Reviewed-on: https://gerrit.libreoffice.org/5488 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index db06df836338..b5028ae89610 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) );
}