cui/source/dialogs/insdlg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e4c58c39590091cd9bbc7ace4ebd81b3241a3816
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sun Oct 4 16:35:53 2015 +0200

    Prefer getSelectedFiles to getFiles (cui)
    
    Change-Id: I4fa2d2700fac9b1a25dfc5c6cbe4ae911c5b3d32
    Reviewed-on: https://gerrit.libreoffice.org/19127
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 8e5bc95..d3d34d7 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -127,7 +127,7 @@ IMPL_LINK_NOARG_TYPED(SvInsertOleDlg, BrowseHdl, Button*, 
void)
 
     if( xFilePicker->execute() == ExecutableDialogResults::OK )
     {
-        Sequence< OUString > aPathSeq( xFilePicker->getFiles() );
+        Sequence< OUString > aPathSeq( xFilePicker->getSelectedFiles() );
         INetURLObject aObj( aPathSeq[0] );
         m_pEdFilepath->SetText( aObj.PathToFileName() );
     }
@@ -382,7 +382,7 @@ IMPL_LINK_NOARG_TYPED(SvInsertPlugInDialog, BrowseHdl, 
Button*, void)
 
     if( xFilePicker->execute() == ExecutableDialogResults::OK )
     {
-        Sequence< OUString > aPathSeq( xFilePicker->getFiles() );
+        Sequence< OUString > aPathSeq( xFilePicker->getSelectedFiles() );
         INetURLObject aObj( aPathSeq[0] );
         m_pEdFileurl->SetText(aObj.PathToFileName());
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to