tdf#161846 remove one layout operations (ii)

of the 6 we perform per caption object

Change-Id: Ib062a7cc0b4691ec0badb759893b737f6f2c4a86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171171
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2024-07-27 12:51:47 +02:00
parent 84bd222947
commit ac41bc3c90

View file

@ -354,10 +354,8 @@ namespace sdr::properties
}
}
if(rObj.IsTextFrame())
{
if(rObj.IsTextFrame() && !rObj.getSdrModelFromSdrObject().isLocked())
rObj.NbcAdjustTextFrameWidthAndHeight();
}
}
void TextProperties::ForceDefaultAttributes()