summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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;
};
}