loplugin:stringconstant: Flag more inefficiencies
Change-Id: I7c79445bfa1536706561752da107090599ef26a2
This commit is contained in:
@@ -43,7 +43,7 @@ bool lcl_ParseText(OUString const &rText, size_t& rLineNr )
|
||||
// number n. (Maybe it would be better to ignore all whitespace instead
|
||||
// of just spaces.)
|
||||
OUString aText(
|
||||
rText.replaceAll(" ", OUString()));
|
||||
rText.replaceAll(" ", ""));
|
||||
if (aText.isEmpty())
|
||||
return false;
|
||||
sal_Unicode cFirst = aText[0];
|
||||
|
Reference in New Issue
Block a user