summaryrefslogtreecommitdiff
path: root/cui/source/customize
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-14 16:57:06 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-09-21 12:45:38 +0200
commitd99b65c864cc3358238e4eac651f12a34d05e2d9 (patch)
treefcd7d6fefb9434c27533c826aabc639f68ba97ed /cui/source/customize
parentb649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (diff)
Rename GetSelectEntryPos -> GetSelectedEntryPos
Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4 Reviewed-on: https://gerrit.libreoffice.org/42283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'cui/source/customize')
-rw-r--r--cui/source/customize/SvxMenuConfigPage.cxx4
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx10
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/customize/eventdlg.cxx2
4 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx
index 481723867af5..accd56afc670 100644
--- a/cui/source/customize/SvxMenuConfigPage.cxx
+++ b/cui/source/customize/SvxMenuConfigPage.cxx
@@ -282,7 +282,7 @@ short SvxMenuConfigPage::QueryReset()
OUString msg = CuiResId( RID_SVXSTR_CONFIRM_MENU_RESET );
OUString saveInName = m_pSaveInListBox->GetEntry(
- m_pSaveInListBox->GetSelectEntryPos() );
+ m_pSaveInListBox->GetSelectedEntryPos() );
OUString label = SvxConfigPageHelper::replaceSaveInName( msg, saveInName );
@@ -457,7 +457,7 @@ IMPL_LINK_NOARG( SvxMenuConfigPage, ResetMenuHdl, Button *, void )
// So we are resetting only if it is a context menu
if (!m_bIsMenuBar && qbox->Execute() == RET_YES)
{
- sal_Int32 nPos = m_pTopLevelListBox->GetSelectEntryPos();
+ sal_Int32 nPos = m_pTopLevelListBox->GetSelectedEntryPos();
ContextMenuSaveInData* pSaveInData = static_cast< ContextMenuSaveInData* >(GetSaveInData());
pSaveInData->ResetContextMenu(pMenuData);
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx
index 7112e6edbd7a..abc741297ff7 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -194,7 +194,7 @@ void SvxToolbarConfigPage::dispose()
void SvxToolbarConfigPage::DeleteSelectedTopLevel()
{
- const sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectEntryPos();
+ const sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectedEntryPos();
ToolbarSaveInData* pSaveInData = static_cast<ToolbarSaveInData*>( GetSaveInData() );
pSaveInData->RemoveToolbar( GetTopLevelSelection() );
@@ -361,14 +361,14 @@ IMPL_LINK_NOARG( SvxToolbarConfigPage, AddToolbarHdl, Button *, void )
}
pNameDialog->m_pSaveInListBox->SelectEntryPos(
- m_pSaveInListBox->GetSelectEntryPos() );
+ m_pSaveInListBox->GetSelectedEntryPos() );
if ( pNameDialog->Execute() == RET_OK )
{
aNewName = pNameDialog->GetName();
// Where to save the new toolbar? (i.e. Modulewise or documentwise)
- sal_Int32 nInsertPos = pNameDialog->m_pSaveInListBox->GetSelectEntryPos();
+ sal_Int32 nInsertPos = pNameDialog->m_pSaveInListBox->GetSelectedEntryPos();
ToolbarSaveInData* pData =
static_cast<ToolbarSaveInData*>(
@@ -678,7 +678,7 @@ IMPL_LINK( SvxToolbarConfigPage, ModifyItemHdl, MenuButton *, pButton, void )
IMPL_LINK_NOARG( SvxToolbarConfigPage, ResetToolbarHdl, Button *, void )
{
- sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectEntryPos();
+ sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectedEntryPos();
SvxConfigEntry* pToolbar =
static_cast<SvxConfigEntry*>(m_pTopLevelListBox->GetEntryData( nSelectionPos ));
@@ -719,7 +719,7 @@ short SvxToolbarConfigPage::QueryReset()
OUString msg = CuiResId( RID_SVXSTR_CONFIRM_TOOLBAR_RESET );
OUString saveInName = m_pSaveInListBox->GetEntry(
- m_pSaveInListBox->GetSelectEntryPos() );
+ m_pSaveInListBox->GetSelectedEntryPos() );
OUString label = SvxConfigPageHelper::replaceSaveInName( msg, saveInName );
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 8626ddf68ba8..b342c42e327e 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1529,14 +1529,14 @@ bool SvxConfigPage::FillItemSet( SfxItemSet* )
IMPL_LINK_NOARG( SvxConfigPage, SelectSaveInLocation, ListBox&, void )
{
pCurrentSaveInData = static_cast<SaveInData*>(m_pSaveInListBox->GetEntryData(
- m_pSaveInListBox->GetSelectEntryPos()));
+ m_pSaveInListBox->GetSelectedEntryPos()));
Init();
}
void SvxConfigPage::ReloadTopLevelListBox( SvxConfigEntry const * pToSelect )
{
- sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectEntryPos();
+ sal_Int32 nSelectionPos = m_pTopLevelListBox->GetSelectedEntryPos();
m_pTopLevelListBox->Clear();
if ( GetSaveInData() && GetSaveInData()->GetEntries() )
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx
index a3ff1697629b..187f60af132d 100644
--- a/cui/source/customize/eventdlg.cxx
+++ b/cui/source/customize/eventdlg.cxx
@@ -166,7 +166,7 @@ void SvxEventConfigPage::ImplInitDocument()
IMPL_LINK_NOARG( SvxEventConfigPage, SelectHdl_Impl, ListBox&, void )
{
bool* bApp = static_cast<bool*>(m_pSaveInListBox->GetEntryData(
- m_pSaveInListBox->GetSelectEntryPos()));
+ m_pSaveInListBox->GetSelectedEntryPos()));
mpImpl->pEventLB->SetUpdateMode( false );
if ( *bApp )