loplugin:stringconstant: Flag more inefficiencies

Change-Id: I7c79445bfa1536706561752da107090599ef26a2
This commit is contained in:
Stephan Bergmann
2015-06-25 12:35:44 +02:00
parent 8007417c31
commit fce88d8ff0

View File

@@ -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];