[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - xmloff/source
Zolnai Tamás
zolnaitamas2000 at gmail.com
Tue Aug 20 06:34:18 PDT 2013
xmloff/source/text/txtimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 93dc3cc8fca6c3873739da1388570e635ee87b90
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date: Wed Aug 14 16:28:09 2013 +0200
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/5487
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 3abafb5..7795ce1 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) );
}
More information about the Libreoffice-commits
mailing list