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

loplugin:stringconstant: Flag more inefficiencies

Change-Id: I0e2e161a29b653cf16b2e3a6ddeb89567b5342c8
üst 687ab378
......@@ -83,7 +83,7 @@ inline OString remove(const OString &rIn,
*/
inline OUString remove(const OUString &rIn,
sal_Unicode c)
{ return rIn.replaceAll(OUString(c), OUString()); }
{ return rIn.replaceAll(OUString(c), ""); }
/** Removes all occurrences of a character from within the source string
......
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