From 73731b01cd65defdf9b42a9754bede3ba84221d7 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Thu, 20 Dec 2012 15:39:37 +0100 Subject: [PATCH] docx import: don't apply complex font size to non-complex font OOXML spec says: "[szCs] specifies the font size which shall be applied to all complex script characters in the contents of this run when displayed" Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287 Reviewed-on: https://gerrit.libreoffice.org/1454 Reviewed-by: Miklos Vajna Tested-by: Miklos Vajna --- writerfilter/source/dmapper/DomainMapper.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx index dd61686f57b3..84f344ef04fe 100644 --- a/writerfilter/source/dmapper/DomainMapper.cxx +++ b/writerfilter/source/dmapper/DomainMapper.cxx @@ -2130,8 +2130,6 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext, SprmType if( NS_sprm::LN_CHpsBi == nSprmId ) { rContext->Insert( PROP_CHAR_HEIGHT_COMPLEX, true, aVal ); - // Also set Western, but don't overwrite it. - rContext->Insert( PROP_CHAR_HEIGHT, true, aVal, false ); } else {