summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeControlAccess.cxx6
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx10
2 files changed, 8 insertions, 8 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx
index 848142393c25..1b30f285734b 100644
--- a/fpicker/source/office/OfficeControlAccess.cxx
+++ b/fpicker/source/office/OfficeControlAccess.cxx
@@ -720,7 +720,7 @@ namespace svt
DBG_ASSERT( WindowType::LISTBOX == _pControl->GetType(),
"OControlAccess::implGetControlProperty: invalid control/property combination!" );
- sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectEntryPos();
+ sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos();
OUString sSelected;
if ( LISTBOX_ENTRY_NOTFOUND != nSelected )
sSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntry();
@@ -733,9 +733,9 @@ namespace svt
DBG_ASSERT( WindowType::LISTBOX == _pControl->GetType(),
"OControlAccess::implGetControlProperty: invalid control/property combination!" );
- sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectEntryPos();
+ sal_Int32 nSelected = static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos();
if ( LISTBOX_ENTRY_NOTFOUND != nSelected )
- aReturn <<= static_cast< ListBox const * >( _pControl )->GetSelectEntryPos();
+ aReturn <<= static_cast< ListBox const * >( _pControl )->GetSelectedEntryPos();
else
aReturn <<= (sal_Int32)-1;
}
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 03ff057041dc..c6fcaa0217a9 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -522,7 +522,7 @@ void RemoteFilesDialog::FillServicesListbox()
int RemoteFilesDialog::GetSelectedServicePos()
{
- int nSelected = m_pServices_lb->GetSelectEntryPos();
+ int nSelected = m_pServices_lb->GetSelectedEntryPos();
int nPos = 0;
int i = -1;
@@ -553,7 +553,7 @@ void RemoteFilesDialog::AddFilter( const OUString& rFilter, const OUString& rTyp
m_aFilters.emplace_back( rFilter, rType );
m_pFilter_lb->InsertEntry( sName );
- if( m_pFilter_lb->GetSelectEntryPos() == LISTBOX_ENTRY_NOTFOUND )
+ if( m_pFilter_lb->GetSelectedEntryPos() == LISTBOX_ENTRY_NOTFOUND )
m_pFilter_lb->SelectEntryPos( 0 );
}
@@ -806,7 +806,7 @@ IMPL_LINK ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, void )
OString sIdent( pButton->GetCurItemIdent() );
if( sIdent == "edit_service" && m_pServices_lb->GetEntryCount() > 0 )
{
- unsigned int nSelected = m_pServices_lb->GetSelectEntryPos();
+ unsigned int nSelected = m_pServices_lb->GetSelectedEntryPos();
int nPos = GetSelectedServicePos();
if( nPos >= 0 )
@@ -846,7 +846,7 @@ IMPL_LINK ( RemoteFilesDialog, EditServiceMenuHdl, MenuButton *, pButton, void )
}
if( sIdent == "delete_service" && m_pServices_lb->GetEntryCount() > 0 )
{
- unsigned int nSelected = m_pServices_lb->GetSelectEntryPos();
+ unsigned int nSelected = m_pServices_lb->GetSelectedEntryPos();
int nPos = GetSelectedServicePos();
if( nPos >= 0 )
@@ -1041,7 +1041,7 @@ IMPL_LINK_NOARG( RemoteFilesDialog, SplitHdl, Splitter*, void )
IMPL_LINK_NOARG( RemoteFilesDialog, SelectFilterHdl, ListBox&, void )
{
- unsigned int nPos = m_pFilter_lb->GetSelectEntryPos();
+ unsigned int nPos = m_pFilter_lb->GetSelectedEntryPos();
if( nPos != LISTBOX_ENTRY_NOTFOUND && !m_aFilters[nPos].second.isEmpty() )
{