summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx9
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.hxx14
2 files changed, 11 insertions, 12 deletions
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 09924f567c84..acc3fc677949 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -67,12 +67,9 @@ namespace
//-----------------------------------------------------------------------------------------
CFilePicker::CFilePicker( const uno::Reference<lang::XMultiServiceFactory>& xServiceMgr) :
- cppu::WeakComponentImplHelper3<
- XFilePicker2,
- XFilePicker3,
- lang::XServiceInfo>(m_rbHelperMtx),
- m_xServiceMgr(xServiceMgr),
- m_aAsyncEventNotifier(rBHelper)
+ CFilePicker_Base(m_rbHelperMtx),
+ m_xServiceMgr(xServiceMgr),
+ m_aAsyncEventNotifier(rBHelper)
{
HINSTANCE hInstance = GetModuleHandle(FILE_PICKER_DLL_NAME);
OSL_POSTCOND( hInstance, "The name of the service dll must have changed" );
diff --git a/fpicker/source/win32/filepicker/FilePicker.hxx b/fpicker/source/win32/filepicker/FilePicker.hxx
index 059c81f273ad..83b7ecdf346c 100644
--- a/fpicker/source/win32/filepicker/FilePicker.hxx
+++ b/fpicker/source/win32/filepicker/FilePicker.hxx
@@ -52,14 +52,16 @@ protected:
osl::Mutex m_rbHelperMtx;
};
+typedef ::cppu::WeakComponentImplHelper5 <
+ ::com::sun::star::ui::dialogs::XFilePicker2,
+ ::com::sun::star::ui::dialogs::XFilePicker3,
+ ::com::sun::star::ui::dialogs::XFilePickerControlAccess,
+ ::com::sun::star::ui::dialogs::XFilePreview,
+ ::com::sun::star::lang::XServiceInfo > CFilePicker_Base;
+
class CFilePicker :
public CFilePickerDummy,
- public cppu::WeakComponentImplHelper5<
- ::com::sun::star::ui::dialogs::XFilePicker2,
- ::com::sun::star::ui::dialogs::XFilePicker3,
- ::com::sun::star::ui::dialogs::XFilePickerControlAccess,
- ::com::sun::star::ui::dialogs::XFilePreview,
- ::com::sun::star::lang::XServiceInfo >
+ public CFilePicker_Base
{
public: