Simplify Sequence iterations in package

Desktop / LibreOffice - Arkadiy Illarionov [gmail.com] - 22 August 2019 16:03 EDT

Use range-based loops, STL and comphelper functions

Change-Id: Ibd836b9b2df2f30b42f2d7a621188d78f5b53196 Reviewed-on: https://gerrit.libreoffice.org/77246

38001018fa06 Simplify Sequence iterations in package
package/source/manifest/ManifestExport.cxx | 105 ++++----
package/source/xstor/ocompinstream.cxx | 109 ++++----
package/source/xstor/owriteablestream.cxx | 345 +++++++++++--------------
package/source/xstor/xfactory.cxx | 27 +-
package/source/xstor/xstorage.cxx | 277 +++++++++-----------
package/source/zippackage/ZipPackage.cxx | 114 ++++----
package/source/zippackage/ZipPackageStream.cxx | 6 +-
package/source/zippackage/zipfileaccess.cxx | 4 +-
8 files changed, 441 insertions(+), 546 deletions(-)

Upstream: cgit.freedesktop.org


  • Share