Kaydet (Commit) fce88d8f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: Flag more inefficiencies

Change-Id: I7c79445bfa1536706561752da107090599ef26a2
üst 8007417c
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment