jl152#i77196# better handling of extensions with unaccepted license

This commit is contained in:
Dirk Voelzke 2010-06-02 09:31:52 +02:00
parent a340fb93fa
commit 057d47a436

View file

@ -1020,14 +1020,14 @@ void ExtensionBox_Impl::updateEntry( const uno::Reference< deployment::XPackage
(*iIndex)->m_sVersion = xPackage->getVersion();
(*iIndex)->m_sDescription = xPackage->getDescription();
if ( eState == AMBIGUOUS )
(*iIndex)->m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS );
else
(*iIndex)->m_sErrorText = String();
if ( eState == REGISTERED )
(*iIndex)->m_bMissingLic = false;
if ( eState == AMBIGUOUS )
(*iIndex)->m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS );
else if ( ! (*iIndex)->m_bMissingLic )
(*iIndex)->m_sErrorText = String();
if ( IsReallyVisible() )
Invalidate();
break;