From 5b54ba7084d6b575814af26be30cf5af5dfca12c Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Fri, 29 Oct 2021 10:13:01 +0300 Subject: Prepare for removal of non-const operator[] from Sequence in svx Change-Id: Ib5fda9469f9a1987cf9071c0e228c582cfb3dfa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124397 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- svx/source/form/databaselocationinput.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx/source/form/databaselocationinput.cxx') diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx index 392dddab607d..018fd3f5e3d5 100644 --- a/svx/source/form/databaselocationinput.cxx +++ b/svx/source/form/databaselocationinput.cxx @@ -171,8 +171,7 @@ namespace svx "DatabaseLocationInputController_Impl::impl_initFilterProperties_nothrow: unable to determine the file extension(s)!" ); if ( !m_aFilterExtensions.hasElements() ) { - m_aFilterExtensions.realloc(1); - m_aFilterExtensions[0] = "*.odb"; + m_aFilterExtensions = { "*.odb" }; } } -- cgit