summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper
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-01-02 08:47:07 +0000
commit73731b01cd65defdf9b42a9754bede3ba84221d7 (patch)
treef08b51f367d70e203d2fa05a669e00710fe72e13 /writerfilter/source/dmapper
parent59074c09b838ebaf63f5d3e7578bb473080ec0ee (diff)
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 <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'writerfilter/source/dmapper')
-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 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
{