shell/qa/zip/testzipimpl.cxx |   37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

New commits:
commit b4ad56ecb6ecd6a75667656817136c34f8bea50e
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu May 1 06:05:53 2025 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu May 1 08:35:53 2025 +0200

    Simplify vector initialization using brace initialization
    
    Change-Id: Ied85f4950c0dd01cc58c81fdad1196ee6d51ff4a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184850
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/shell/qa/zip/testzipimpl.cxx b/shell/qa/zip/testzipimpl.cxx
index e39408f98496..572782f722c4 100644
--- a/shell/qa/zip/testzipimpl.cxx
+++ b/shell/qa/zip/testzipimpl.cxx
@@ -20,26 +20,25 @@
 #include "testzipimpl.hxx"
 
 TestZipImpl::TestZipImpl(StreamInterface* stream)
-    : zipFile(ZipFile(stream))
-    , expectedContents()
+    : zipFile{ stream }
+    , expectedContents{ "mimetype",
+                        "Configurations2/statusbar/",
+                        "Configurations2/accelerator/current.xml",
+                        "Configurations2/floater/",
+                        "Configurations2/popupmenu/",
+                        "Configurations2/progressbar/",
+                        "Configurations2/toolpanel/",
+                        "Configurations2/menubar/",
+                        "Configurations2/toolbar/",
+                        "Configurations2/images/Bitmaps/",
+                        "content.xml",
+                        "manifest.rdf",
+                        "styles.xml",
+                        "meta.xml",
+                        "Thumbnails/thumbnail.png",
+                        "settings.xml",
+                        "META-INF/manifest.xml" }
 {
-    expectedContents.push_back("mimetype");
-    expectedContents.push_back("Configurations2/statusbar/");
-    expectedContents.push_back("Configurations2/accelerator/current.xml");
-    expectedContents.push_back("Configurations2/floater/");
-    expectedContents.push_back("Configurations2/popupmenu/");
-    expectedContents.push_back("Configurations2/progressbar/");
-    expectedContents.push_back("Configurations2/toolpanel/");
-    expectedContents.push_back("Configurations2/menubar/");
-    expectedContents.push_back("Configurations2/toolbar/");
-    expectedContents.push_back("Configurations2/images/Bitmaps/");
-    expectedContents.push_back("content.xml");
-    expectedContents.push_back("manifest.rdf");
-    expectedContents.push_back("styles.xml");
-    expectedContents.push_back("meta.xml");
-    expectedContents.push_back("Thumbnails/thumbnail.png");
-    expectedContents.push_back("settings.xml");
-    expectedContents.push_back("META-INF/manifest.xml");
     sort(expectedContents.begin(), expectedContents.end());
 }
 

Reply via email to