diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-16 10:15:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-16 14:17:38 +0200 |
commit | 75fc91b143a4458403d68342c3636882f42c84ee (patch) | |
tree | c42dfbf74f04abc48c00abefe525a916203f0f27 /fpicker | |
parent | 604d464d2bdd0271ad63e5c93d4869a318eac262 (diff) |
Simplify vector initialization in fpicker
Change-Id: If75810cb09e13d5d9b9490b20a0a99b1745e17be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123687
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fileview.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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); |