diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-29 10:13:01 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-10-31 15:49:07 +0100 |
commit | 5b54ba7084d6b575814af26be30cf5af5dfca12c (patch) | |
tree | 38f1fd7bfca54886c34f6bcbdd9220d3f1a90f13 /svx/source/form/databaselocationinput.cxx | |
parent | 3d469248ada8632a9d86efc80f2ac97dcb617c27 (diff) |
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/form/databaselocationinput.cxx')
-rw-r--r-- | svx/source/form/databaselocationinput.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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" }; } } |