summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpicker/source/office/fileview.cxx3
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);