summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-02 08:37:23 +0200
committerNoel Grandin <noel@peralex.com>2015-10-06 10:17:02 +0200
commit7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 (patch)
tree62bae1461c0388af6f7a8bebbf134e9a86c92153 /desktop
parentd7f2db4b9ce445afdcabf370497bc66db76efbbc (diff)
loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/gui/dp_gui_extlistbox.cxx65
-rw-r--r--desktop/source/deployment/gui/dp_gui_extlistbox.hxx39
2 files changed, 0 insertions, 104 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index c5885a50b052..5d519344c52d 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -298,71 +298,6 @@ void ExtensionBox_Impl::checkIndex( sal_Int32 nIndex ) const
}
-OUString ExtensionBox_Impl::getItemName( sal_Int32 nIndex ) const
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- return m_vEntries[ nIndex ]->m_sTitle;
-}
-
-
-OUString ExtensionBox_Impl::getItemVersion( sal_Int32 nIndex ) const
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- return m_vEntries[ nIndex ]->m_sVersion;
-}
-
-
-OUString ExtensionBox_Impl::getItemDescription( sal_Int32 nIndex ) const
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- return m_vEntries[ nIndex ]->m_sDescription;
-}
-
-
-OUString ExtensionBox_Impl::getItemPublisher( sal_Int32 nIndex ) const
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- return m_vEntries[ nIndex ]->m_sPublisher;
-}
-
-
-OUString ExtensionBox_Impl::getItemPublisherLink( sal_Int32 nIndex ) const
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- return m_vEntries[ nIndex ]->m_sPublisherURL;
-}
-
-
-void ExtensionBox_Impl::select( sal_Int32 nIndex )
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- checkIndex( nIndex );
- selectEntry( nIndex );
-}
-
-
-void ExtensionBox_Impl::select( const OUString & sName )
-{
- const ::osl::MutexGuard aGuard( m_entriesMutex );
- typedef ::std::vector< TEntry_Impl >::const_iterator It;
-
- for ( It iIter = m_vEntries.begin(); iIter != m_vEntries.end(); ++iIter )
- {
- if ( sName.equals( (*iIter)->m_sTitle ))
- {
- long nPos = iIter - m_vEntries.begin();
- selectEntry( nPos );
- break;
- }
- }
-}
-
-
// Title + description
void ExtensionBox_Impl::CalcActiveHeight( const long nPos )
{
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
index 29b6891bfa25..c2df79dc9443 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
@@ -215,45 +215,6 @@ public:
When nothing is selected, which is the case when getItemCount returns '0',
then this function returns ENTRY_NOTFOUND */
virtual sal_Int32 getSelIndex() const SAL_OVERRIDE;
-
- /** @return The item name of the entry with the given index
- The index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual OUString getItemName( sal_Int32 index ) const SAL_OVERRIDE;
-
- /** @return The version string of the entry with the given index
- The index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual OUString getItemVersion( sal_Int32 index ) const SAL_OVERRIDE;
-
- /** @return The description string of the entry with the given index
- The index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual OUString getItemDescription( sal_Int32 index ) const SAL_OVERRIDE;
-
- /** @return The publisher string of the entry with the given index
- The index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual OUString getItemPublisher( sal_Int32 index ) const SAL_OVERRIDE;
-
- /** @return The link behind the publisher text of the entry with the given index
- The index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual OUString getItemPublisherLink( sal_Int32 index ) const SAL_OVERRIDE;
-
- /** The entry at the given position will be selected
- Index starts with 0.
- Throws an css::lang::IllegalArgumentException, when the position is invalid. */
- virtual void select( sal_Int32 pos ) SAL_OVERRIDE;
-
- /** The first found entry with the given name will be selected
- When there was no entry found with the name, the selection doesn't change.
- Please note that there might be more than one entry with the same
- name, because:
- 1. the name is not unique
- 2. one extension can be installed as user and shared extension.
- */
- virtual void select( const OUString & sName ) SAL_OVERRIDE;
};
}