summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Gemkow <lobugs@ikr.uni-stuttgart.de>2016-11-06 14:43:58 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-11-29 09:03:47 +0000
commit482c655e30a121971076eaa52d5948e8c7988557 (patch)
treeb147ca5f75b1a7e51f2b77ea9659230c5a4f4432
parentb53f04662eb7760bb25bb8c6ae97adef0b3fba1b (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> (cherry picked from commit ae95f8b7b1b75d0e367db643ad82821ee371a84a) Reviewed-on: https://gerrit.libreoffice.org/31328 Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-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);