diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-10-06 21:01:58 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-10-06 20:35:12 +0000 |
commit | e3ddcbea3fd8b9402ce2339de47793c4bc2b4b80 (patch) | |
tree | 74b814f0ad08cd4675f65bb5f3dbaefc758fb1b5 /vcl | |
parent | 912268d49c1d9ae7cbec63673ee7ca40f15c0451 (diff) |
Prefer getSelectedFiles to getFiles (vcl)
Change-Id: I0cb515a8b394c5e4b43fe84282383872c0680f15
Reviewed-on: https://gerrit.libreoffice.org/19216
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 2 | ||||
-rw-r--r-- | vcl/win/source/gdi/salprn.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index c9fff67ed734..ab0a88275aea 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -251,7 +251,7 @@ static OUString queryFile( Printer* pPrinter ) if( xFilePicker->execute() == ui::dialogs::ExecutableDialogResults::OK ) { - uno::Sequence< OUString > aPathSeq( xFilePicker->getFiles() ); + uno::Sequence< OUString > aPathSeq( xFilePicker->getSelectedFiles() ); INetURLObject aObj( aPathSeq[0] ); aResult = aObj.PathToFileName(); } diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx index cf6a4c6bcac1..152e9e33585c 100644 --- a/vcl/win/source/gdi/salprn.cxx +++ b/vcl/win/source/gdi/salprn.cxx @@ -1531,7 +1531,7 @@ bool WinSalPrinter::StartJob( const OUString* pFileName, if( xFilePicker->execute() == ExecutableDialogResults::OK ) { - Sequence< OUString > aPathSeq( xFilePicker->getFiles() ); + Sequence< OUString > aPathSeq( xFilePicker->getSelectedFiles() ); INetURLObject aObj( aPathSeq[0] ); // we're using ansi calls (StartDocA) so convert the string aOutFileName = aObj.PathToFileName(); |