[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986418: Acknowledgement (libreoffice-impress: Impress cannot reduce table row size)



In fact this commit for 7.0.5 is more correct,
https://git.libreoffice.org/core/commit/51e4f716ea8416a1a8d90f8063a51ad130bd1743

Though it's essentially the same,

diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 2d0fc0f..ed54499 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx

@@ -788,7 +788,7 @@ void TableLayouter::LayoutTableHeight( tools::Rectangle& rArea, bool bFit )
                    //     Case 2: * Row has "Heigth" property
// * Calculated minimum heigth is bigger than Height propery value and // * Row has not any text of any cell in edit mode in the row (means completely empty) - if ((nMinHeight < nRowPropHeight && nRowPropHeight > 0 ) || + if ((nMinHeight < nRowPropHeight && nRowPropHeight > 0 && (bRowHasText || bRowHasCellInEditMode)) || (nMinHeight > nRowPropHeight && nRowPropHeight > 0 && (!bRowHasText && !bRowHasCellInEditMode)))
                    {
                        nMinHeight = nRowPropHeight;


Reply to: