summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-04 16:12:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-04 20:19:06 +0200
commit203476b6676505acafd1c41561800afd9316a0f6 (patch)
tree6693007f3d0adb6d9d644ef35ad0eea11b0b2c14 /oox
parentf73e8c895e24fda10931ecf344a1a0dd8bcdf92c (diff)
loplugin:constantparam
Change-Id: Iee554baae7239c9bf0ac35cab6ff235a88dc29a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153973 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 4c1492451dd4..040a632563cc 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -1543,7 +1543,7 @@ Reference< XShape > const & Shape::createAndInsert(
if (auto* pTableShape = dynamic_cast<sdr::table::SdrTableObj*>(SdrObject::getSdrObjectFromXShape(mxShape)))
{
tools::Rectangle aArea{};
- pTableShape->LayoutTableHeight(aArea, /*bFit=*/false);
+ pTableShape->LayoutTableHeight(aArea);
sal_Int32 nCorrectedHeight = aArea.GetHeight();
const auto& aShapeSize = mxShape->getSize();
if( nCorrectedHeight > aShapeSize.Height )