diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-07 16:18:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 11:01:06 +0200 |
commit | 14505bb67eb671ebcb91c81cbefbbc1aab930b44 (patch) | |
tree | 0ad2166f5c6c95d01f2f7204b13aaa0ca8119acc /svx | |
parent | 6ea42ddf8f06b7551e80a906908dbad0766a68c6 (diff) |
loplugin:staticmethods
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/datanavi.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index da52985db230..8ecf292a752d 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -2904,10 +2904,10 @@ namespace svxform ManageNamespaceDialog aDlg( this, m_pConditionDlg, true ); SvTreeListEntry* pEntry = m_pNamespacesList->FirstSelected(); DBG_ASSERT( pEntry, "NamespaceItemDialog::ClickHdl(): no entry" ); - OUString sPrefix( m_pNamespacesList->GetEntryText( pEntry, 0 ) ); + OUString sPrefix( SvTabListBox::GetEntryText( pEntry, 0 ) ); aDlg.SetNamespace( sPrefix, - m_pNamespacesList->GetEntryText( pEntry, 1 ) ); + SvTabListBox::GetEntryText( pEntry, 1 ) ); if ( aDlg.Execute() == RET_OK ) { // if a prefix was changed, mark the old prefix as 'removed' @@ -2922,7 +2922,7 @@ namespace svxform { SvTreeListEntry* pEntry = m_pNamespacesList->FirstSelected(); DBG_ASSERT( pEntry, "NamespaceItemDialog::ClickHdl(): no entry" ); - OUString sPrefix( m_pNamespacesList->GetEntryText( pEntry, 0 ) ); + OUString sPrefix( SvTabListBox::GetEntryText( pEntry, 0 ) ); m_aRemovedList.push_back( sPrefix ); m_pNamespacesList->GetModel()->Remove( pEntry ); } @@ -2949,8 +2949,8 @@ namespace svxform for( i = 0; i < nEntryCount; ++i ) { SvTreeListEntry* pEntry = m_pNamespacesList->GetEntry(i); - OUString sPrefix( m_pNamespacesList->GetEntryText( pEntry, 0 ) ); - OUString sURL( m_pNamespacesList->GetEntryText( pEntry, 1 ) ); + OUString sPrefix( SvTabListBox::GetEntryText( pEntry, 0 ) ); + OUString sURL( SvTabListBox::GetEntryText( pEntry, 1 ) ); if ( m_rNamespaces->hasByName( sPrefix ) ) m_rNamespaces->replaceByName( sPrefix, makeAny( sURL ) ); |