30 typedef ::std::vector< css::uno::WeakReference< XInterface > >
InterfaceArray;
47 void implPushBackPicker(
InterfaceArray& _rHistory,
const Reference< XInterface >& _rxPicker )
49 if ( !_rxPicker.is() )
53 _rHistory.erase(std::remove_if(_rHistory.begin(),
55 [](
const css::uno::WeakReference< XInterface > & x) { return !x.get().is(); }),
59 _rHistory.emplace_back( _rxPicker );
65 implPushBackPicker( getFolderPickerHistory(), _rxPicker );
70 implPushBackPicker( getFilePickerHistory(), _rxPicker );
std::vector< css::uno::Reference< css::uno::XInterface > > InterfaceArray
void addFilePicker(const Reference< XInterface > &_rxPicker)
void addFolderPicker(const Reference< XInterface > &_rxPicker)