summaryrefslogtreecommitdiff
path: root/writerfilter/source
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2012-12-20 15:39:37 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-06-12 13:00:22 +0200
commit10362c7aef210abd1f5d1e78ea3b7884b656e510 (patch)
treebfa941ff593aca8e9dabbdc03a6ba9552751cfb5 /writerfilter/source
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: https://gerrit.libreoffice.org/1454 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz> (cherry picked from commit 73731b01cd65defdf9b42a9754bede3ba84221d7) Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287
Diffstat (limited to 'writerfilter/source')
-rw-r--r--writerfilter/source/dmapper/DomainMapper.cxx2
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 );
}
else
{