From ef8341f05ec79fcdac3b05b45659f5c98ff05edf Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 1 Sep 2017 10:50:27 +0100 Subject: bump FileDialogHelper to XFilePicker3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I726676aaa8944bc3b6418abe305ad03f8ec96c59 Reviewed-on: https://gerrit.libreoffice.org/41783 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- include/sfx2/filedlghelper.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx index 44e673a3778f..052285cbd614 100644 --- a/include/sfx2/filedlghelper.hxx +++ b/include/sfx2/filedlghelper.hxx @@ -46,7 +46,7 @@ namespace com { namespace dialogs { - class XFilePicker2; + class XFilePicker3; class XFilePickerListener; struct FilePickerEvent; struct DialogClosedEvent; @@ -189,7 +189,7 @@ public: with the following differences:
  • The FileDialogHelper remembers the given file name, and upon execution, strips its extension if the dialog is set up for "automatic file name extension".
  • -
  • Exceptions thrown from the XFilePicker2 are caught and silenced.
  • +
  • Exceptions thrown from the XFilePicker3 are caught and silenced.
*/ void SetFileName( const OUString& _rFileName ); @@ -198,7 +198,7 @@ public: OUString GetDisplayDirectory() const; ErrCode GetGraphic( Graphic& rGraphic ) const; - const css::uno::Reference < css::ui::dialogs::XFilePicker2 >& GetFilePicker() const; + const css::uno::Reference < css::ui::dialogs::XFilePicker3 >& GetFilePicker() const; // XFilePickerListener methods void SAL_CALL FileSelectionChanged(); -- cgit