Kaydet (Commit) be9ed1cf authored tarafından Justin Luth's avatar Justin Luth

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: 's avatarJustin Luth <justin_luth@sil.org>
üst ac540c1d
...@@ -1087,7 +1087,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u ...@@ -1087,7 +1087,7 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
if ( mnTextSize ) if ( mnTextSize )
aTextObj.Write( &rOut ); aTextObj.Write( &rOut );
if ( pPropOpt ) if ( pPropOpt && mType != "drawing.Table" )
ImplAdjustFirstLineLineSpacing( aTextObj, *pPropOpt ); ImplAdjustFirstLineLineSpacing( aTextObj, *pPropOpt );
sal_uInt32 nSize, nPos = rOut.Tell(); sal_uInt32 nSize, nPos = rOut.Tell();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment