[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - svx/source
Ulrich Gemkow
lobugs at ikr.uni-stuttgart.de
Tue Nov 29 09:04:09 UTC 2016
svx/source/sdr/properties/measureproperties.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 482c655e30a121971076eaa52d5948e8c7988557
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>
(cherry picked from commit ae95f8b7b1b75d0e367db643ad82821ee371a84a)
Reviewed-on: https://gerrit.libreoffice.org/31328
Tested-by: jan iversen <jani at documentfoundation.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
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