summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/opengrf.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-10-05 23:27:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-10-07 05:05:47 +0000
commit8273350ff48f198efc9dc9c5de5519b8cbdc0cb3 (patch)
treed1587fc960b3b0a7bf30403f240d64b66de2a53d /sfx2/source/appl/opengrf.cxx
parentf830600ece806ec365a4839e79afabe183c5e36d (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 'sfx2/source/appl/opengrf.cxx')
-rw-r--r--sfx2/source/appl/opengrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index 82015b06bf9d..8ced8cfa2687 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -88,7 +88,7 @@ SvxOpenGrf_Impl::SvxOpenGrf_Impl()
: aFileDlg(ui::dialogs::TemplateDescription::FILEOPEN_LINK_PREVIEW,
SFXWB_GRAPHIC)
{
- uno::Reference < XFilePicker > xFP = aFileDlg.GetFilePicker();
+ uno::Reference < XFilePicker2 > xFP = aFileDlg.GetFilePicker();
xCtrlAcc = uno::Reference < XFilePickerControlAccess >(xFP, UNO_QUERY);
}