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

Julien Nabet serval2412 at yahoo.fr
Sun Oct 4 11:33:02 PDT 2015


 svtools/source/control/filectrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 199f3bce1d5cf6067b5edd60f4909e880fb72f5e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Oct 4 18:11:14 2015 +0200

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

diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 34941ec..0a64a2d 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -235,7 +235,7 @@ void FileControl::ImplBrowseFile( )
 
         if ( xFilePicker->execute() )
         {
-            Sequence < OUString > aPathSeq = xFilePicker->getFiles();
+            Sequence < OUString > aPathSeq = xFilePicker->getSelectedFiles();
 
             if ( aPathSeq.getLength() )
             {


More information about the Libreoffice-commits mailing list