diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-10-04 16:14:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-10-04 14:32:30 +0000 |
commit | 3ad8f409d7658d94871aff2e709f013e8c869d98 (patch) | |
tree | 578e0551b9ef3c24972ea0c0a2068e3389c2c473 /sdext | |
parent | 990efa00ce0b305500df4bdd6641c2016fa4fa5a (diff) |
Prefer getSelectedFiles to getFiles (sdext+qadevOOo)
Change-Id: I4827e47b7d67b0112c0f9023c0db4ce8975f06e1
Reviewed-on: https://gerrit.libreoffice.org/19126
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/fileopendialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/fileopendialog.cxx b/sdext/source/minimizer/fileopendialog.cxx index ad2e890e5656..c327ea55a50e 100644 --- a/sdext/source/minimizer/fileopendialog.cxx +++ b/sdext/source/minimizer/fileopendialog.cxx @@ -165,7 +165,7 @@ void FileOpenDialog::setDefaultName( const OUString& rDefaultName ) } OUString FileOpenDialog::getURL() const { - Sequence< OUString > aFileSeq( mxFilePicker->getFiles() ); + Sequence< OUString > aFileSeq( mxFilePicker->getSelectedFiles() ); return aFileSeq.getLength() ? aFileSeq[ 0 ] : OUString(); }; OUString FileOpenDialog::getFilterName() const |