fpicker/source/office/fileview.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 75fc91b143a4458403d68342c3636882f42c84ee
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Oct 16 10:15:39 2021 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Oct 16 14:17:38 2021 +0200

    Simplify vector initialization in fpicker
    
    Change-Id: If75810cb09e13d5d9b9490b20a0a99b1745e17be
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123687
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/fpicker/source/office/fileview.cxx 
b/fpicker/source/office/fileview.cxx
index 42d39aca2689..788c001a5574 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -428,8 +428,7 @@ 
ViewTabListBox_Impl::ViewTabListBox_Impl(std::unique_ptr<weld::TreeView> xTreeVi
     , mbEditing( false )
     , mbShowType(nFlags & FileViewFlags::SHOW_TYPE)
 {
-    std::vector<int> aWidths;
-    aWidths.push_back(180);
+    std::vector<int> aWidths { 180 };
     if (nFlags & FileViewFlags::SHOW_TYPE)
         aWidths.push_back(140);
     aWidths.push_back(80);

Reply via email to