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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 16 15:53:46 UTC 2018


 svx/source/sdr/properties/measureproperties.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d357e50fa1734da0bf341dbd49fc0596011bdfe3
Author:     Armin Le Grand <Armin.Le.Grand at cib.de>
AuthorDate: Sun Sep 16 10:49:42 2018 +0200
Commit:     Armin Le Grand <Armin.Le.Grand at cib.de>
CommitDate: Sun Sep 16 17:53:17 2018 +0200

    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 at yahoo.fr>
    Reviewed-by: Armin Le Grand <Armin.Le.Grand at cib.de>

diff --git a/svx/source/sdr/properties/measureproperties.cxx b/svx/source/sdr/properties/measureproperties.cxx
index ddf0159437b9..a62f49ae0d59 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()


More information about the Libreoffice-commits mailing list