diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:37:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:39 +0200 |
commit | 0c526c668391faec7fdfbab7d0210210c7a2a32e (patch) | |
tree | b3f81ed0203a90cb120816128e74f8d6ba5beb37 /vcl | |
parent | 495b6575f8b9a19f1c72184d56eacb590aeab739 (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I918023aa2e14d0913e6e05129ceb0c528b6cfd96
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/field2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 3f343b215760..6f093e66912f 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -948,7 +948,7 @@ static sal_uInt16 ImplCutNumberFromString( OUString& rStr ) static bool ImplCutMonthName( OUString& rStr, const OUString& _rLookupMonthName ) { sal_Int32 index = 0; - rStr = rStr.replaceFirst(_rLookupMonthName, OUString(), &index); + rStr = rStr.replaceFirst(_rLookupMonthName, "", &index); return index >= 0; } |