diff options
author | Dirk Voelzke <dv@openoffice.org> | 2010-06-02 09:31:52 +0200 |
---|---|---|
committer | Dirk Voelzke <dv@openoffice.org> | 2010-06-02 09:31:52 +0200 |
commit | 057d47a436bab4ba71a101f7d2ad21cabae0cd20 (patch) | |
tree | b31f379597d10109b9aa0013d079891a84edca4c /desktop/source/deployment/gui/dp_gui_extlistbox.cxx | |
parent | a340fb93fa310e0eb82c3bd5ac7d5b9a3b22ce70 (diff) |
jl152#i77196# better handling of extensions with unaccepted license
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extlistbox.cxx')
-rwxr-xr-x | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index d76764fa1e53..24b47aa223e3 100755 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -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 == REGISTERED ) + (*iIndex)->m_bMissingLic = false; + if ( eState == AMBIGUOUS ) (*iIndex)->m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS ); - else + else if ( ! (*iIndex)->m_bMissingLic ) (*iIndex)->m_sErrorText = String(); - if ( eState == REGISTERED ) - (*iIndex)->m_bMissingLic = false; - if ( IsReallyVisible() ) Invalidate(); break; |