From 169e1058d50cca32f8ed8702c6f6a13a39fe899f Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 7 Nov 2014 19:05:11 -0600 Subject: coverity#1251171 Missing break in switch Change-Id: Iefdeecc9fb2032d171cc2a353fe160dcd92050b2 --- linguistic/source/spelldsp.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linguistic') diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 3a2f025e8512..c3b3282a599b 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -696,8 +696,10 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl( break; case CAPTYPE_ALLCAP: aProposalList.Prepend( pCharClass->uppercase(aAddRplcTxt) ); + break; default: - aProposalList.Prepend( aAddRplcTxt ); + /* can't happen because of if ct == above */ + break; } } } -- cgit