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

loplugin:stringconstant: Flag more inefficiencies

Change-Id: I918023aa2e14d0913e6e05129ceb0c528b6cfd96
üst 495b6575
...@@ -948,7 +948,7 @@ static sal_uInt16 ImplCutNumberFromString( OUString& rStr ) ...@@ -948,7 +948,7 @@ static sal_uInt16 ImplCutNumberFromString( OUString& rStr )
static bool ImplCutMonthName( OUString& rStr, const OUString& _rLookupMonthName ) static bool ImplCutMonthName( OUString& rStr, const OUString& _rLookupMonthName )
{ {
sal_Int32 index = 0; sal_Int32 index = 0;
rStr = rStr.replaceFirst(_rLookupMonthName, OUString(), &index); rStr = rStr.replaceFirst(_rLookupMonthName, "", &index);
return index >= 0; return index >= 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