[Libreoffice-commits] core.git: filter/source

David Tardon dtardon at redhat.com
Wed Jun 26 05:34:38 PDT 2013


 filter/source/msfilter/svdfppt.cxx |   15 ---------------
 1 file changed, 15 deletions(-)

New commits:
commit 2022c84d1e7e88e65243c6dfd1a62ec17f1361a1
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Jun 26 14:24:18 2013 +0200

    fdo#65123 Revert "n#782833: (PPT) Fix font size at end of para."
    
    This reverts commit e36d227ee584aa07fa48dda7710ac6b7a850fcc3.
    
    The description in the orig. commit: "Font size at the end of the para
    when there is a new(empty) line is set using an extra charprops
    definition." That would mean the extra StyleTextPropAtom record does not
    have a record header, which seems pretty fishy. I suspect the real
    problem is somewhere else (or the ppt is broken). But I cannot check it,
    because I cannot access the bug.
    
    Conflicts:
    	filter/source/msfilter/svdfppt.cxx
    
    Change-Id: I1d555cd2905ef8f297d1a96f56bebbea8f83ad62

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 5e28dfa..2e37372 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -5206,26 +5206,11 @@ void PPTStyleTextPropReader::Init( SvStream& rIn, SdrPowerPointImport& rMan, con
 
             PPTCharPropSet aCharPropSet( nCurrentPara );
             if ( bTextPropAtom )
-            {
-                if( nCharAnzRead == ( nStringLen - 1 ) && aString[nCharAnzRead] == '\r' )
-                {
-                    /* n#782833: Seems like the new line character at end of the para
-                     * has two char properties and we would need to use the next one.
-                     */
-                    PPTCharPropSet aDummyCharPropSet( nCurrentPara );
-                    ReadCharProps( rIn, aDummyCharPropSet, aString, nCharCount, nCharAnzRead,
-                               bTextPropAtom, nExtParaPos, aStyleTextProp9, nExtParaFlags,
-                               nBuBlip, nHasAnm, nAnmScheme );
-                    bEmptyParaPossible = true;
-                }
                 ReadCharProps( rIn, aCharPropSet, aString, nCharCount, nCharAnzRead,
                                bTextPropAtom, nExtParaPos, aStyleTextProp9, nExtParaFlags,
                                nBuBlip, nHasAnm, nAnmScheme );
-            }
             else
-            {
                 nCharCount = nStringLen;
-            }
 
             sal_uInt32 nLen;
             while( nCharCount )


More information about the Libreoffice-commits mailing list