desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 604985f83c9cf2d4e6443478a5122a6f9c471c11 Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Sat Dec 29 23:21:47 2018 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Sun Jan 13 10:58:32 2019 +0100 Reduce OUString operations Change-Id: I11f9205e82dff9df5b235860df1b36d266d17334 Reviewed-on: https://gerrit.libreoffice.org/66221 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits