summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}
}