Kaydet (Commit) b5938bf4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: rewrite call of rtl::OUString::operator= ...

... with empty string constant argument as call of rtl::OUString::clear
[loplugin:stringconstant].

Actually, no need to clear the string here as it already is empty, surely?

Change-Id: Ib4b1a6e1b0c0f59c1c964fe58d26058b492c3821
üst 686e3556
...@@ -1281,7 +1281,7 @@ RTLFUNC(Mid) ...@@ -1281,7 +1281,7 @@ RTLFUNC(Mid)
OUString aResultStr; OUString aResultStr;
if (nStartPos > aArgStr.getLength()) if (nStartPos > aArgStr.getLength())
{ {
aResultStr = ""; // do nothing
} }
else if(nArgCount == 2) else if(nArgCount == 2)
{ {
......
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