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

Justin Luth justin_luth at sil.org
Sat Jul 7 18:01:09 UTC 2018


 sd/source/filter/eppt/epptso.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be9ed1cfec7a236786b714fc306a0631e598f234
Author: Justin Luth <justin_luth at sil.org>
Date:   Fri Jun 29 15:47:43 2018 +0300

    tdf#112721 sd ppt export: don't adjust first line of table
    
    Round-tripping ppt files with tables was causing the
    text content to slowly creep downward as space was
    being added on each save.
    
    No unit test. Something is wrong with saveAndReload for PPT.
    Plus, I don't know what property contains this padding,
    or whether it is a cell object or what that contains it.
    
    Change-Id: I8918718c4ae2c87856910717c3ca8af1cbd86a6e
    Reviewed-on: https://gerrit.libreoffice.org/56690
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <justin_luth at sil.org>

diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 69d520e7b742..957977041c36 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -1087,7 +1087,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
         if ( mnTextSize )
             aTextObj.Write( &rOut );
 
-        if ( pPropOpt )
+        if ( pPropOpt && mType != "drawing.Table" )
             ImplAdjustFirstLineLineSpacing( aTextObj, *pPropOpt );
 
         sal_uInt32 nSize, nPos = rOut.Tell();


More information about the Libreoffice-commits mailing list