summaryrefslogtreecommitdiff
path: root/reportdesign/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-29 15:16:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-30 07:14:23 +0200
commit510d3585d22d4a6bbaad9832141b5a3005c0c626 (patch)
tree7b00e7513b674d82d2db1e45ceae4c401d799893 /reportdesign/source
parent426adcbadc66fd79859e50ddc0064e899fc019e3 (diff)
tdf#161846 remove one layout operations (iii)
of the 6 we perform per caption Change-Id: I5afbc296a9be4fcb732cfbe28d43a2ad45aa6c9e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171172 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index c3dfa8cf86db..d899534957d0 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -496,9 +496,9 @@ void OCustomShape::NbcResize(const Point& rRef, const Fraction& xFract, const Fr
SetPropsFromRect(GetSnapRect());
}
-void OCustomShape::NbcSetLogicRect(const tools::Rectangle& rRect)
+void OCustomShape::NbcSetLogicRect(const tools::Rectangle& rRect, bool bAdaptTextMinSize)
{
- SdrObjCustomShape::NbcSetLogicRect(rRect);
+ SdrObjCustomShape::NbcSetLogicRect(rRect, bAdaptTextMinSize);
SetPropsFromRect(rRect);
}
@@ -722,9 +722,9 @@ void OUnoObject::NbcResize(const Point& rRef, const Fraction& xFract, const Frac
OObjectBase::StartListening();
}
-void OUnoObject::NbcSetLogicRect(const tools::Rectangle& rRect)
+void OUnoObject::NbcSetLogicRect(const tools::Rectangle& rRect, bool bAdaptTextMinSize)
{
- SdrUnoObj::NbcSetLogicRect(rRect);
+ SdrUnoObj::NbcSetLogicRect(rRect, bAdaptTextMinSize);
// stop listening
OObjectBase::EndListening();
@@ -1042,9 +1042,9 @@ void OOle2Obj::NbcResize(const Point& rRef, const Fraction& xFract, const Fracti
OObjectBase::StartListening();
}
-void OOle2Obj::NbcSetLogicRect(const tools::Rectangle& rRect)
+void OOle2Obj::NbcSetLogicRect(const tools::Rectangle& rRect, bool bAdaptTextMinSize)
{
- SdrOle2Obj::NbcSetLogicRect(rRect);
+ SdrOle2Obj::NbcSetLogicRect(rRect, bAdaptTextMinSize);
// stop listening
OObjectBase::EndListening();