path: root/writerfilter
diff options
authorPierre-Eric Pelloux-Prayer <>2012-12-20 15:39:37 +0100
committerMiklos Vajna <>2013-06-12 13:00:22 +0200
commit10362c7aef210abd1f5d1e78ea3b7884b656e510 (patch)
treebfa941ff593aca8e9dabbdc03a6ba9552751cfb5 /writerfilter
parent9e00a0fc2229d2490470cd7708c45f819d7ca48f (diff)
bnc#820819 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" Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <> (cherry picked from commit 73731b01cd65defdf9b42a9754bede3ba84221d7) Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287
Diffstat (limited to 'writerfilter')
1 files changed, 0 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index c91c13997bbb..25f90a0d211d 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -2207,8 +2207,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 );