[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - writerfilter/source

Pierre-Eric Pelloux-Prayer pierre-eric at lanedo.com
Wed Jun 12 03:21:33 PDT 2013


 writerfilter/source/dmapper/DomainMapper.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0677918be20211176bec249f867d87fa11e5a42d
Author: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>
Date:   Thu Dec 20 15:39:37 2012 +0100

    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"
    
    Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287
    Reviewed-on: https://gerrit.libreoffice.org/1454
    Reviewed-by: Miklos Vajna <vmiklos at suse.cz>
    Tested-by: Miklos Vajna <vmiklos at suse.cz>
    (cherry picked from commit 73731b01cd65defdf9b42a9754bede3ba84221d7)

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index dc459bd..0f2ae3d 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -2144,8 +2144,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
             {


More information about the Libreoffice-commits mailing list