diff options
author | yogesh.bharate001 <yogesh.bharate@synerzip.com> | 2015-03-20 20:37:52 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-12 09:26:38 +0000 |
commit | 4f2c8194f485b1527fb4f4dfe23ce804937f1f9c (patch) | |
tree | eb366db4c08d492c339a31a3394e2de4896d9b73 /svx | |
parent | 7ff58e1a8965606a9fb45153a377b84593746420 (diff) |
tdf#80340: Table changes format in PPTX format
Problem:
- If the PPTX contains embedded table i.e copied from excel, when we open it in
impress it row height increase due to this table format changes.
- Table contents empty row i.e without text, then row height increase because
text height is added also added for empty row.
Solution:
- Added check whether row contents text or not.
Change-Id: I9f8a99aa407384505f0075168cf64fd51b8b4c7b
Reviewed-on: https://gerrit.libreoffice.org/14925
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/cell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 11aedb88cacf..71da0f146c39 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -727,7 +727,7 @@ sal_Int32 Cell::getMinimumHeight() pEditOutliner->SetMaxAutoPaperSize(aSize); nMinimumHeight = pEditOutliner->GetTextHeight()+1; } - else /*if ( hasText() )*/ + else if ( hasText() ) { Outliner& rOutliner=rTableObj.ImpGetDrawOutliner(); rOutliner.SetPaperSize(aSize); |