diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-12 11:44:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-02-12 13:23:24 +0200 |
commit | a1609205604f74440c046166b09ee96f088e437b (patch) | |
tree | abf69219f338fe7149fdf1c479a4a7e2bec0b689 | |
parent | e48b708da6556b63408084e37f83a4777c4dabfd (diff) |
Fix compilation of MacOS FilePicker
...broken by 4b51374a7021d52f7f1be1861e2ee6a011b30ecd "fdo#46808,
Adapt ui::dialogs::FilePicker UNO service to new style."
Also remove unused field while we're there.
Change-Id: If7e2057b9383edf4ee2fa581df984dea0e04e430
-rw-r--r-- | fpicker/source/aqua/FPentry.mm | 3 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 6 |
3 files changed, 5 insertions, 9 deletions
diff --git a/fpicker/source/aqua/FPentry.mm b/fpicker/source/aqua/FPentry.mm index 7f9a3e1ca288..98be8b05d9ee 100644 --- a/fpicker/source/aqua/FPentry.mm +++ b/fpicker/source/aqua/FPentry.mm @@ -38,8 +38,7 @@ using ::com::sun::star::ui::dialogs::XFilePicker; static Reference< XInterface > SAL_CALL createFileInstance( const Reference< XMultiServiceFactory >& rServiceManager ) { - return Reference< XInterface >( - *new SalAquaFilePicker( rServiceManager ) ); + return Reference< XInterface >( *new SalAquaFilePicker ); } static Reference< XInterface > SAL_CALL createFolderInstance( diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx index fbf7ac7b70f8..6d6cbd00755d 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.hxx +++ b/fpicker/source/aqua/SalAquaFilePicker.hxx @@ -57,7 +57,7 @@ class SalAquaFilePicker : public: // constructor - SalAquaFilePicker( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceMgr ); + SalAquaFilePicker(); //------------------------------------------------------------------------------------ // XFilePickerNotifier @@ -197,9 +197,6 @@ private: virtual void ensureFilterHelper(); - // to instantiate own services - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceMgr; - ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFilePickerListener > m_xListener; diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index 66355485bd41..cb6c2c2beaba 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -92,11 +92,11 @@ namespace // constructor //----------------------------------------------------------------------------------------- -SalAquaFilePicker::SalAquaFilePicker( const uno::Reference<lang::XMultiServiceFactory>& xServiceMgr ) - : cppu::WeakComponentImplHelper2< +SalAquaFilePicker::SalAquaFilePicker() + : cppu::WeakComponentImplHelper3< XFilePicker3, + XFilePickerControlAccess, lang::XServiceInfo>( m_rbHelperMtx ) - , m_xServiceMgr( xServiceMgr ) , m_pFilterHelper( NULL ) { DBG_PRINT_ENTRY(CLASS_NAME, __func__); |