From 6194da0903528ecf07a4dcbea76ce5de6a5c2465 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 28 Apr 2017 17:56:09 +0200 Subject: loplugin:salunicodeliteral: linguistic Change-Id: Idafaabdb44dbb8a608d5ca8f707ff144df3f3384 --- linguistic/source/dlistimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 5ac22f539e54..e432114d75ab 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -771,7 +771,7 @@ static void AddInternal( { //! TL TODO: word iterator should be used to break up the text OUString aDelim("!\"#$%&'()*+,-/:;<=>?[]\\_^`{|}~\t \n"); - OSL_ENSURE(aDelim.indexOf(static_cast('.')) == -1, + OSL_ENSURE(aDelim.indexOf(u'.') == -1, "ensure no '.'"); OUString aToken; -- cgit