diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-01 10:50:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-01 16:58:41 +0200 |
commit | ef8341f05ec79fcdac3b05b45659f5c98ff05edf (patch) | |
tree | f37a99a896c93ae3aa34a99a1db3a40332801c72 /svx | |
parent | a00ad98e421ca7110c58c66fb7bd04cc2306bb59 (diff) |
bump FileDialogHelper to XFilePicker3
Change-Id: I726676aaa8944bc3b6418abe305ad03f8ec96c59
Reviewed-on: https://gerrit.libreoffice.org/41783
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/core/graphichelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index 5aa82122c969..e5f09eda0622 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -42,7 +42,7 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> -#include <com/sun/star/ui/dialogs/XFilePicker2.hpp> +#include <com/sun/star/ui/dialogs/XFilePicker3.hpp> #include <com/sun/star/ui/dialogs/XFilterManager.hpp> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/container/XNameAccess.hpp> @@ -185,7 +185,7 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString& OUString sGraphicsPath( aPathOpt.GetGraphicPath() ); FileDialogHelper aDialogHelper( TemplateDescription::FILESAVE_AUTOEXTENSION ); - Reference < XFilePicker2 > xFilePicker = aDialogHelper.GetFilePicker(); + Reference < XFilePicker3 > xFilePicker = aDialogHelper.GetFilePicker(); INetURLObject aPath; aPath.SetSmartURL( sGraphicsPath ); @@ -347,7 +347,7 @@ void GraphicHelper::SaveShapeAsGraphic( const Reference< drawing::XShape >& xSha OUString sGraphicPath( aPathOpt.GetGraphicPath() ); FileDialogHelper aDialogHelper( TemplateDescription::FILESAVE_AUTOEXTENSION ); - Reference < XFilePicker2 > xFilePicker = aDialogHelper.GetFilePicker(); + Reference < XFilePicker3 > xFilePicker = aDialogHelper.GetFilePicker(); aDialogHelper.SetTitle( SvxResId(RID_SVXSTR_SAVEAS_IMAGE) ); |