diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:36:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:33 +0200 |
commit | 2434f2983894a1577080be6ea1881cc6afcafcf9 (patch) | |
tree | 17a7528d3ae48fe12801b65e083d3824a16370d8 /include | |
parent | 687ab37853be1adaf84a78a6a5b1c947ea0608fc (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I0e2e161a29b653cf16b2e3a6ddeb89567b5342c8
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/string.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index 5bf8296ee1e3..0609e623fc47 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -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 |