summaryrefslogtreecommitdiff
path: root/svx/source/sdr/properties/measureproperties.cxx
diff options
context:
space:
mode:
authorUlrich Gemkow <lobugs@ikr.uni-stuttgart.de>2016-11-06 14:43:58 +0100
committerjan iversen <jani@documentfoundation.org>2016-11-28 06:46:12 +0000
commitae95f8b7b1b75d0e367db643ad82821ee371a84a (patch)
tree36622ab30dd0b348f565b8685677790e8c459407 /svx/source/sdr/properties/measureproperties.cxx
parentf246542d1f61b5253189676688f59e5f952267a1 (diff)
tdf#98525 Commit font style change to dimension line object
Change-Id: I59e19e00fd0fdadaa7bffc4fbd1cb79d7e5a9763 Reviewed-on: https://gerrit.libreoffice.org/30609 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
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);