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-11 08:06:36 +0000
commit3dae249c7bb0919d39dc88816d6ec38fb2b54e09 (patch)
tree5f7cbf32e12f961772b9015816125243bd8682a5
parent5af5c4a1038f9b0ce38716300401fda40c7fba10 (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> Reviewed-on: https://gerrit.libreoffice.org/18447 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: László Németh <nemeth@numbertext.org>
-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();
}
}