diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-10-05 23:27:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-10-07 05:05:47 +0000 |
commit | 8273350ff48f198efc9dc9c5de5519b8cbdc0cb3 (patch) | |
tree | d1587fc960b3b0a7bf30403f240d64b66de2a53d /include | |
parent | f830600ece806ec365a4839e79afabe183c5e36d (diff) |
Prefer getSelectedFiles to getFiles (sfx2+sw)
+ tweak files of other modules which needed it
Change-Id: Ibb673eba6609734addd233ac1477698c01b94678
Reviewed-on: https://gerrit.libreoffice.org/19180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/filedlghelper.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx index 67ec91e295fb..7e31b5a23302 100644 --- a/include/sfx2/filedlghelper.hxx +++ b/include/sfx2/filedlghelper.hxx @@ -43,7 +43,7 @@ namespace com { namespace dialogs { - class XFilePicker; + class XFilePicker2; class XFilePickerListener; struct FilePickerEvent; struct DialogClosedEvent; @@ -183,7 +183,7 @@ public: with the following differences: <ul><li>The FileDialogHelper remembers the given file name, and upon execution, strips its extension if the dialog is set up for "automatic file name extension".</li> - <li>Exceptions thrown from the <code>XFilePicker</code> are caught and silenced.</li> + <li>Exceptions thrown from the <code>XFilePicker2</code> are caught and silenced.</li> </ul> */ void SetFileName( const OUString& _rFileName ); @@ -192,7 +192,7 @@ public: OUString GetDisplayDirectory() const; ErrCode GetGraphic( Graphic& rGraphic ) const; - ::com::sun::star::uno::Reference < ::com::sun::star::ui::dialogs::XFilePicker > GetFilePicker() const; + ::com::sun::star::uno::Reference < ::com::sun::star::ui::dialogs::XFilePicker2 > GetFilePicker() const; // XFilePickerListener methods void SAL_CALL FileSelectionChanged( const ::com::sun::star::ui::dialogs::FilePickerEvent& aEvent ); |