[Libreoffice-commits] .: Branch 'libreoffice-3-4' - writerfilter/source
Petr Mladek
pmladek at kemper.freedesktop.org
Mon Jan 2 07:18:05 PST 2012
writerfilter/source/dmapper/DomainMapper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9dcc765e88bf23418ffbf66345e4eaa4c36005e4
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Wed Jun 8 19:47:31 2011 +0200
dmapper: fix NS_sprm::LN_CFDStrike with zero nIntValue
Signed-off-by: Petr Mladek <pmladek at suse.cz>
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index f8b32c8..a182ee7 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1968,7 +1968,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext, SprmType
break;
case NS_sprm::LN_CFDStrike : /*sprmCFDStrike double strike through*/
rContext->Insert(ePropertyId, true,
- uno::makeAny( awt::FontStrikeout::DOUBLE ) );
+ uno::makeAny( nIntValue ? awt::FontStrikeout::DOUBLE : awt::FontStrikeout::NONE ) );
break;
case NS_sprm::LN_CFOutline: /*sprmCFOutline*/
case NS_sprm::LN_CFShadow: /*sprmCFShadow*/
More information about the Libreoffice-commits
mailing list