summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-07 14:33:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-07 14:33:16 +0000
commit753241412b15f426cdbea53194bbd957e42fec5f (patch)
tree024c7a6d29d830b2b5427ebffccc49ac60bed7a5 /desktop/source
parent304483166bb52e9e6e2e093524453a456339255d (diff)
INTEGRATION: CWS extmgrui05 (1.4.16); FILE MERGED
2008/07/05 20:28:04 dv 1.4.16.2: RESYNC: (1.4-1.6); FILE MERGED 2008/06/27 11:31:46 dv 1.4.16.1: #i91132# No need to hide provider links
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 93fdf7940f..b5390fc861 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -8,7 +8,7 @@
*
* $RCSfile: dp_gui_dialog2.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -807,6 +807,7 @@ void ExtensionBox_Impl::DrawRow( const Rectangle& rRect, const TEntry_Impl pEntr
pEntry->m_pPublisher->SetDescription( pEntry->m_sPublisher );
Size aSize = FixedText::CalcMinimumTextSize( pEntry->m_pPublisher );
pEntry->m_pPublisher->SetSizePixel( aSize );
+ pEntry->m_pPublisher->SetClickHdl( LINK( this, ExtensionBox_Impl, HandleHyperlink ) );
}
// Get max title width
@@ -1038,8 +1039,6 @@ void ExtensionBox_Impl::Paint( const Rectangle &rPaintRect )
Rectangle aEntryRect( aStart, aSize );
if ( aEntryRect.IsOver( rPaintRect ) )
DrawRow( aEntryRect, *iIndex );
- else if ( (*iIndex)->m_pPublisher )
- (*iIndex)->m_pPublisher->Hide();
aStart.Y() += aSize.Height();
}
}
@@ -1277,9 +1276,6 @@ long ExtensionBox_Impl::addEntry( const uno::Reference< deployment::XPackage > &
TEntry_Impl pEntry( new Entry_Impl( xPackage, xPackageManager, eState ) );
- if ( pEntry->m_pPublisher )
- pEntry->m_pPublisher->SetClickHdl( LINK( this, ExtensionBox_Impl, HandleHyperlink ) );
-
::osl::ClearableMutexGuard guard(m_entriesMutex);
if ( m_vEntries.empty() )
{