summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-10-04 20:12:48 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-10-04 19:45:27 +0000
commit849877871ac0e6032336f759cb39bf9a4a978d44 (patch)
tree3a56a36a6ed790e06f5f0c5c1510bc67c1e9cdc1 /sc/source
parent199f3bce1d5cf6067b5edd60f4909e880fb72f5e (diff)
Prefer getSelectedFiles to getFiles (sc)
Change-Id: I78e5c590b99113d01545c8f83f6024226aa185c8 Reviewed-on: https://gerrit.libreoffice.org/19133 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index e5e8379d54f9..45b75c82ba14 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -201,7 +201,7 @@ void ScXMLSourceDlg::SelectSourceFile()
// File picker dialog cancelled.
return;
- uno::Sequence<OUString> aFiles = xFilePicker->getFiles();
+ uno::Sequence<OUString> aFiles = xFilePicker->getSelectedFiles();
if (!aFiles.getLength())
return;