From be9ed1cfec7a236786b714fc306a0631e598f234 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Fri, 29 Jun 2018 15:47:43 +0300 Subject: 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 --- sd/source/filter/eppt/epptso.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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(); -- cgit