diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2022-09-16 14:53:28 +0300 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-09-16 18:29:32 +0200 |
commit | b92c4de7da81318abefce4750e826ac59094b748 (patch) | |
tree | 0a3ccca708b806340a3223eb96a4941e7f3711b7 /svx | |
parent | 28a7615ccdd000270f71e2eb32efeec4c87780f1 (diff) |
Related: tdf#144092 improve wording
Attempts to address concerns pointed out by Justin in:
https://gerrit.libreoffice.org/c/core/+/138652/#message-6dd69691fbaabf26424b4c3fb85f42e550b53ee2
Change-Id: I1af4d316fae73626ce734ca60c6539502eb80f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140067
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 6d50267a1b4d..94006afdde43 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -2415,16 +2415,12 @@ void SdrTableObj::CropTableModelToSelection(const CellPos& rStart, const CellPos mpImpl->CropTableModelToSelection(rStart, rEnd); } -sal_Int32 SdrTableObj::getHeightWithoutFitting() +void SdrTableObj::LayoutTableHeight(tools::Rectangle& rArea, bool bFit) { - tools::Rectangle aRect{}; if( mpImpl.is() && mpImpl->mpLayouter) { - mpImpl->mpLayouter->LayoutTableHeight(aRect, /*bFit=*/false); - return aRect.GetHeight(); + mpImpl->mpLayouter->LayoutTableHeight(rArea, bFit); } - else - return 0; } void SdrTableObj::DistributeColumns( sal_Int32 nFirstColumn, sal_Int32 nLastColumn, const bool bOptimize, const bool bMinimize ) |