summaryrefslogtreecommitdiff
path: root/package/source/zipapi/ZipEnumeration.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:09:45 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 19:23:33 +0100
commiteb4c2e96f38a6b5280a83709e55fbb5b8d7e9d36 (patch)
treea1a8ab31f7869b5b2d32629323e6f98074676622 /package/source/zipapi/ZipEnumeration.cxx
parent4d4e95be173e84b5040af46a459b3c071bfd744a (diff)
tdf#123936 Formatting files in module package with clang-format
Change-Id: I3ff80c6c636003d468f384e0d6fbfb5233e0b4da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105696 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'package/source/zipapi/ZipEnumeration.cxx')
-rw-r--r--package/source/zipapi/ZipEnumeration.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/package/source/zipapi/ZipEnumeration.cxx b/package/source/zipapi/ZipEnumeration.cxx
index 794ac1a7b9fc..9849c6854f61 100644
--- a/package/source/zipapi/ZipEnumeration.cxx
+++ b/package/source/zipapi/ZipEnumeration.cxx
@@ -21,18 +21,13 @@
/** Provides an Enumeration over the contents of a Zip file */
-ZipEnumeration::ZipEnumeration( EntryHash & rNewEntryHash)
-: rEntryHash(rNewEntryHash)
-, aIterator(rEntryHash.begin())
+ZipEnumeration::ZipEnumeration(EntryHash& rNewEntryHash)
+ : rEntryHash(rNewEntryHash)
+ , aIterator(rEntryHash.begin())
{
}
-ZipEnumeration::~ZipEnumeration()
-{
-}
-bool ZipEnumeration::hasMoreElements()
-{
- return (aIterator != rEntryHash.end());
-}
+ZipEnumeration::~ZipEnumeration() {}
+bool ZipEnumeration::hasMoreElements() { return (aIterator != rEntryHash.end()); }
const ZipEntry* ZipEnumeration::nextElement()
{