Kaydet (Commit) a315af8e authored tarafından Noel Grandin's avatar Noel Grandin

use a typedef to reduce code duplication

Change-Id: I915b88ad0683cecaf2018a529fb904753a4f27c0
üst 33d086fe
...@@ -47,12 +47,14 @@ ...@@ -47,12 +47,14 @@
// class declaration // class declaration
//---------------------------------------------------------- //----------------------------------------------------------
typedef ::cppu::WeakComponentImplHelper3 <
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
::com::sun::star::lang::XServiceInfo > SalAquaFilePicker_Base;
class SalAquaFilePicker : class SalAquaFilePicker :
public SalAquaPicker, public SalAquaPicker,
public cppu::WeakComponentImplHelper3< public SalAquaFilePicker_Base
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
::com::sun::star::lang::XServiceInfo >
{ {
public: public:
......
...@@ -93,10 +93,7 @@ namespace ...@@ -93,10 +93,7 @@ namespace
//----------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------
SalAquaFilePicker::SalAquaFilePicker() SalAquaFilePicker::SalAquaFilePicker()
: cppu::WeakComponentImplHelper3< : SalAquaFilePicker_Base( m_rbHelperMtx )
XFilePicker3,
XFilePickerControlAccess,
lang::XServiceInfo>( m_rbHelperMtx )
, m_pFilterHelper( NULL ) , m_pFilterHelper( NULL )
{ {
DBG_PRINT_ENTRY(CLASS_NAME, __func__); DBG_PRINT_ENTRY(CLASS_NAME, __func__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment