summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-06-08 13:35:11 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-06-08 17:08:06 +0200
commitc7a9a1dbe2b30afb564953ce1e856b95e3ec9436 (patch)
tree2ee177cda58e457bc0fbdedcf792cc7d8e1b362b /fpicker
parentaf8dc07bfdf5d6e7bd2278305cd39ed269e50ed7 (diff)
Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker)
includes removing of unused TOKEN_SEP Change-Id: Ic72d9d94bd8d07232699ee4d948f3b203d524491 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116833 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index acbe04e43d54..2f22d3d48b19 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -1462,9 +1462,7 @@ bool SvtFileDialog::PrepareExecute()
INetURLObject::DecodeMechanism::NONE ),
Reference< XCommandEnvironment >(),
comphelper::getProcessComponentContext() );
- Sequence< OUString > aProps(2);
- aProps[0] = "IsVolume";
- aProps[1] = "IsRemoveable";
+ Sequence< OUString > aProps { "IsVolume", "IsRemoveable" };
Reference< XResultSet > xResultSet
= aCnt.createCursor( aProps, ::ucbhelper::INCLUDE_FOLDERS_ONLY );