diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2018-12-29 23:21:47 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-01-13 10:58:32 +0100 |
commit | 604985f83c9cf2d4e6443478a5122a6f9c471c11 (patch) | |
tree | 00be2936ac45465ae4f1772db646974bb95065fc /desktop/source | |
parent | 1f473ecc3b601ca2ea9fc4a8eca0d89dd7be5389 (diff) |
Reduce OUString operations
Change-Id: I11f9205e82dff9df5b235860df1b36d266d17334
Reviewed-on: https://gerrit.libreoffice.org/66221
Tested-by: Jenkins
Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 9acb846ae32e..55b73c2d0b26 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -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); |