summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/measureproperties.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/properties/measureproperties.cxx')
-rw-r--r--svx/source/sdr/properties/measureproperties.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx
index 8781e6a413ff..fe0b362e3f86 100644
--- a/svx/source/sdr/properties/measureproperties.cxx
+++ b/svx/source/sdr/properties/measureproperties.cxx
@@ -87,10 +87,15 @@ namespace sdr
void MeasureProperties::SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr)
{
+ // get access to dimension line object
SdrMeasureObj& rObj = static_cast<SdrMeasureObj&>(GetSdrObject());
// 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);