From 85e926ff2ebfb793f4e7852edde50bc6783ed5e3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Jun 2015 20:23:19 +0100 Subject: coverity#1304135 Missing break in switch from commit 0e2ef262bea4cbc7cb04cfcd1d47f2a9d6092398 Date: Thu May 21 13:58:52 2015 +0200 tdf#88276: Add background colour toolbar and sidebar buttons but they do nothing yet, follow-up commit(s) add real functionality to them I take it that bNeedTextSpacing = true where it used to be mpToolBoxSpacing->Enable() so fall-through that happens anyway also sets bNeedTextSpacing so presumably everything is ok here Change-Id: I8f1d4137a74fcc2c7ba6959e5b5c4b1f7464643c --- svx/source/sidebar/text/TextPropertyPanel.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'svx') diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx index 01661366285f..a831ab9cd162 100644 --- a/svx/source/sidebar/text/TextPropertyPanel.cxx +++ b/svx/source/sidebar/text/TextPropertyPanel.cxx @@ -157,7 +157,6 @@ void TextPropertyPanel::HandleContextChange ( case CombinedEnumContext(Application_Calc, Context_EditCell): case CombinedEnumContext(Application_Calc, Context_DrawText): - bNeedTextSpacing = true; case CombinedEnumContext(Application_WriterVariants, Context_DrawText): case CombinedEnumContext(Application_WriterVariants, Context_Annotation): -- cgit