diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-12 09:23:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 10:14:45 +0200 |
commit | 4b51374a7021d52f7f1be1861e2ee6a011b30ecd (patch) | |
tree | 77a0121f0eda201befd57a5848bd08aa906473f0 /sfx2 | |
parent | 53ec703c14470cb18845fc4483ec36c13b0d744e (diff) |
fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new style
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/filedlghelper.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/filedlghelper.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/inc/sfx2/filedlghelper.hxx b/sfx2/inc/sfx2/filedlghelper.hxx index 738f8e1e1338..30ab36ba6207 100644 --- a/sfx2/inc/sfx2/filedlghelper.hxx +++ b/sfx2/inc/sfx2/filedlghelper.hxx @@ -69,7 +69,6 @@ class Window; #define FILEDIALOG_FILTER_ALL "*.*" -#define FILE_OPEN_SERVICE_NAME "com.sun.star.ui.dialogs.FilePicker" #define FILE_OPEN_SERVICE_NAME_OOO "com.sun.star.ui.dialogs.OfficeFilePicker" namespace sfx2 { diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index cf072f25110f..ae44fac5b8fa 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -900,7 +900,7 @@ FileDialogHelper_Impl::FileDialogHelper_Impl( else if ( nDialog == SFX2_IMPL_DIALOG_OOO ) pServiceName = FILE_OPEN_SERVICE_NAME_OOO; else - pServiceName = FILE_OPEN_SERVICE_NAME; + pServiceName = "com.sun.star.ui.dialogs.FilePicker"; OUString aService = ::rtl::OUString::createFromAscii( pServiceName ); uno::Reference< XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() ); |