[Libreoffice-commits] core.git: svx/source

Ulrich Gemkow lobugs at ikr.uni-stuttgart.de
Mon Nov 28 06:46:38 UTC 2016


 svx/source/sdr/properties/measureproperties.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit ae95f8b7b1b75d0e367db643ad82821ee371a84a
Author: Ulrich Gemkow <lobugs at ikr.uni-stuttgart.de>
Date:   Sun Nov 6 14:43:58 2016 +0100

    tdf#98525 Commit font style change to dimension line object
    
    Change-Id: I59e19e00fd0fdadaa7bffc4fbd1cb79d7e5a9763
    Reviewed-on: https://gerrit.libreoffice.org/30609
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>

diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx
index 8781e6a..fe0b362 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);


More information about the Libreoffice-commits mailing list