Kaydet (Commit) 472c0a3d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: Flag more inefficiencies

Change-Id: I36ae4b57049fe4deabe785ccfecf78608461086f
üst 33be6e79
......@@ -1974,8 +1974,7 @@ extern "C" void SAL_CALL typelib_typedescription_getByName(
if (0 == *ppRet)
{
// Check for derived interface member type:
sal_Int32 i1 = name.lastIndexOf(
rtl::OUString(":@"));
sal_Int32 i1 = name.lastIndexOf(":@");
if (i1 >= 0) {
sal_Int32 i2 = i1 + RTL_CONSTASCII_LENGTH(":@");
sal_Int32 i3 = name.indexOf(',', i2);
......
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