[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Sun Oct 4 12:45:50 PDT 2015


 sc/source/ui/xmlsource/xmlsourcedlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 849877871ac0e6032336f759cb39bf9a4a978d44
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Oct 4 20:12:48 2015 +0200

    Prefer getSelectedFiles to getFiles (sc)
    
    Change-Id: I78e5c590b99113d01545c8f83f6024226aa185c8
    Reviewed-on: https://gerrit.libreoffice.org/19133
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index e5e8379..45b75c8 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;
 


More information about the Libreoffice-commits mailing list