tdf#118203 Avoid endless recussion in MeasureObject
Change-Id: I1e6fff80e7b6d36830f61387cc5245fc54877d95
Reviewed-on: https://gerrit.libreoffice.org/60546
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx
index ddf0159..a62f49a 100644
--- a/svx/source/sdr/properties/measureproperties.cxx
+++ b/svx/source/sdr/properties/measureproperties.cxx
@@ -88,15 +88,15 @@ namespace sdr
// get access to dimension line object
SdrMeasureObj& rObj = static_cast<SdrMeasureObj&>(GetSdrObject());
// call parent
TextProperties::SetStyleSheet(pNewStyleSheet, bDontRemoveHardAttr);
// local changes
// mark dimension line text as changed (dirty) in the dimension line object
rObj.SetTextDirty();
// tdf#98525 ask the dimension line object to redraw the changed text
rObj.UndirtyText();
// call parent
TextProperties::SetStyleSheet(pNewStyleSheet, bDontRemoveHardAttr);
}
void MeasureProperties::ForceDefaultAttributes()