From 9f8ffc8dfed61eb8460d92ce85b20effe5114f87 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Feb 2015 13:31:57 +0200 Subject: add GetSelectEntryData to ListBox and ComboBox to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- fpicker/source/office/iodlgimp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpicker/source/office/iodlgimp.hxx') diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index db2987c401ac..2af75e6cb7b1 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -244,7 +244,7 @@ inline void SvtExpFileDlg_Impl::SetNoFilterListSelection( ) inline SvtFileDialogFilter_Impl* SvtExpFileDlg_Impl::GetSelectedFilterEntry( OUString& _rDisplayName ) const { _rDisplayName = _pLbFilter->GetSelectEntry(); - return static_cast< SvtFileDialogFilter_Impl* >( _pLbFilter->GetEntryData ( _pLbFilter->GetSelectEntryPos() ) ); + return static_cast< SvtFileDialogFilter_Impl* >( _pLbFilter->GetSelectEntryData () ); } inline bool SvtExpFileDlg_Impl::IsFilterListTravelSelect() const -- cgit