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

Reduce OUString operations

Change-Id: I11f9205e82dff9df5b235860df1b36d266d17334
Reviewed-on: https://gerrit.libreoffice.org/66221
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst 1f473ecc
......@@ -473,8 +473,7 @@ css::uno::Sequence< OUString > DescriptionInfoset::getSupportedPlatforms() const
sal_Int32 nIndex = 0;
do
{
OUString aToken = value.getToken( 0, ',', nIndex );
aToken = aToken.trim();
const OUString aToken = value.getToken( 0, ',', nIndex ).trim();
if (!aToken.isEmpty())
vec.push_back(aToken);
......
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