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
|
// number n. (Maybe it would be better to ignore all whitespace instead
|
||||||
// of just spaces.)
|
// of just spaces.)
|
||||||
OUString aText(
|
OUString aText(
|
||||||
rText.replaceAll(" ", OUString()));
|
rText.replaceAll(" ", ""));
|
||||||
if (aText.isEmpty())
|
if (aText.isEmpty())
|
||||||
return false;
|
return false;
|
||||||
sal_Unicode cFirst = aText[0];
|
sal_Unicode cFirst = aText[0];
|
||||||
|
Reference in New Issue
Block a user