xmloff/source/text/txtparai.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 577dbcf52108c37b266557079bab74691cd23fa1 Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Sat Dec 29 23:22:18 2018 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Sun Jan 13 10:59:46 2019 +0100 Avoid index for single getToken call Change-Id: Id7206487f96792ffe38611c36ac0e0e28bcc59b7 Reviewed-on: https://gerrit.libreoffice.org/66222 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 565f4bdd2891..d79a6d85fa34 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -1874,10 +1874,7 @@ XMLParaContext::XMLParaContext( if( !aCondStyleName.isEmpty() ) sStyleName = aCondStyleName; else if( !sClassNames.isEmpty() ) - { - sal_Int32 nDummy = 0; - sStyleName = sClassNames.getToken( 0, ' ', nDummy ); - } + sStyleName = sClassNames.getToken( 0, ' ' ); } void XMLParaContext::EndElement() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits