summaryrefslogtreecommitdiff
path: root/linguistic/source/spelldsp.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-11-07 19:05:11 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-11-07 19:24:23 -0600
commit169e1058d50cca32f8ed8702c6f6a13a39fe899f (patch)
tree5b65596ef5aa61aa90e1bf78a6d3cbc9547e9ef9 /linguistic/source/spelldsp.cxx
parentc989f5e0e11e295b11ffc921b0d105869e037e47 (diff)
coverity#1251171 Missing break in switch
Change-Id: Iefdeecc9fb2032d171cc2a353fe160dcd92050b2
Diffstat (limited to 'linguistic/source/spelldsp.cxx')
-rw-r--r--linguistic/source/spelldsp.cxx4
1 files changed, 3 insertions, 1 deletions
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;
}
}
}