summaryrefslogtreecommitdiff
path: root/svx/source/table/cell.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-29 15:43:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-30 21:07:08 +0200
commit9bf97034601af0fd679a2d4349b6ac31be5e315d (patch)
treea0d486c0ea8014b0c7de7d83da52acb170ea8397 /svx/source/table/cell.cxx
parentbc0d05bdc0dbd45c9d1605d689e5d02867ebfb74 (diff)
tdf#161846 remove one layout operations (v)
of the 6 we perform per caption Change-Id: I57b3f12ca73e08e18be4d22da74e688969ae35b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171214 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/table/cell.cxx')
-rw-r--r--svx/source/table/cell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 9073266b7ab8..fb99029d6e92 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -183,7 +183,7 @@ SdrText* CellTextProvider::getText(sal_Int32 nIndex) const
// deliberately do not run superclass ForceDefaultAttributes, we don't want any default attributes
}
- void CellProperties::ItemSetChanged(std::span< const SfxPoolItem* const > aChangedItems, sal_uInt16 nDeletedWhich)
+ void CellProperties::ItemSetChanged(std::span< const SfxPoolItem* const > aChangedItems, sal_uInt16 nDeletedWhich, bool bAdjustTextFrameWidthAndHeight)
{
SdrTextObj& rObj = static_cast<SdrTextObj&>(GetSdrObject());
@@ -252,7 +252,7 @@ SdrText* CellTextProvider::getText(sal_Int32 nIndex) const
}
// call parent
- AttributeProperties::ItemSetChanged(aChangedItems, nDeletedWhich);
+ AttributeProperties::ItemSetChanged(aChangedItems, nDeletedWhich, bAdjustTextFrameWidthAndHeight);
if( mxCell.is() )
mxCell->notifyModified();