summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2018-06-29 15:47:43 +0300
committerJustin Luth <justin_luth@sil.org>2018-07-07 20:00:48 +0200
commitbe9ed1cfec7a236786b714fc306a0631e598f234 (patch)
treed5120bd8b688ee0d43d35f4cc2cd2c0eed2c2f39
parentac540c1d743250062b3e71b094209ec1428872e9 (diff)
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@sil.org>
-rw-r--r--sd/source/filter/eppt/epptso.cxx2
1 files changed, 1 insertions, 1 deletions
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();