summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2015-09-07 14:05:32 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-09-07 13:45:23 +0000
commitfc94c658d688ded3fe8a883a84ca1a22cb3ff470 (patch)
tree16032ffc3a4defb8f77dd097492bd30bfc6470af
parente9451a50a7b7a232946680a77b98ce5c6dd50f8a (diff)
tdf#92357 clear tab type switcher button of ruler
before drawing the new icon (cherry-picked from commit e74bc6b9a61dbc80caa6d2a8bfb79b3ac61c9899) Conflicts: svtools/source/control/ruler.cxx Change-Id: Ibbdbed448f965848429ace28dcfae47efc982164 Reviewed-on: https://gerrit.libreoffice.org/18376 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--svtools/source/control/ruler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index ed0995eb1de5..d4b9374a51d9 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2534,7 +2534,7 @@ void Ruler::SetExtraType( RulerExtra eNewExtraType, sal_uInt16 nStyle )
meExtraType = eNewExtraType;
mnExtraStyle = nStyle;
if (IsReallyVisible() && IsUpdateMode())
- Invalidate(INVALIDATE_NOERASE);
+ Invalidate();
}
}