Kaydet (Commit) f7eae57c authored tarafından Matteo Casalin's avatar Matteo Casalin

Reduce OUString temporaries

Change-Id: I13777809dbee314e5b0002f8da9d5009c7fc3c5b
Reviewed-on: https://gerrit.libreoffice.org/66946
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst 8139663f
......@@ -129,8 +129,7 @@ uno::Sequence< OUString > SwXAutoTextContainer::getElementNames()
for ( size_t i = 0; i < nCount; ++i )
{
// The names will be passed without a path extension.
OUString sGroupName(pGlossaries->GetGroupName(i));
pArr[i] = sGroupName.getToken(0, GLOS_DELIM);
pArr[i] = pGlossaries->GetGroupName(i).getToken(0, GLOS_DELIM);
}
return aGroupNames;
}
......
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