[Libreoffice-commits] core.git: desktop/source

Caolán McNamara caolanm at redhat.com
Fri Jan 20 11:52:18 UTC 2017


 desktop/source/deployment/gui/dp_gui_extlistbox.cxx |    6 ------
 desktop/source/deployment/gui/dp_gui_extlistbox.hxx |    1 -
 2 files changed, 7 deletions(-)

New commits:
commit a424182631a6ed2d69ff05ab3de1dbe018656b35
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 20 11:51:08 2017 +0000

    unused hicontrast icon
    
    Change-Id: Iebab45a52319ab531ec27d10fc5c5304d8e7a0a0

diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index 7939f06..e162a5b 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -95,12 +95,6 @@ Entry_Impl::Entry_Impl( const uno::Reference< deployment::XPackage > &xPackage,
         if ( xGraphic.is() )
             m_aIcon = Image( xGraphic );
 
-        xGraphic = xPackage->getIcon( true );
-        if ( xGraphic.is() )
-            m_aIconHC = Image( xGraphic );
-        else
-            m_aIconHC = m_aIcon;
-
         if ( eState == AMBIGUOUS )
             m_sErrorText = DialogHelper::getResourceString( RID_STR_ERROR_UNKNOWN_STATUS );
         else if ( eState == NOT_REGISTERED )
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
index 2e2ec85..d28e248 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
@@ -74,7 +74,6 @@ struct Entry_Impl
     OUString        m_sErrorText;
     OUString        m_sLicenseText;
     Image           m_aIcon;
-    Image           m_aIconHC;
     VclPtr<FixedHyperlink> m_pPublisher;
 
     css::uno::Reference<css::deployment::XPackage> m_xPackage;


More information about the Libreoffice-commits mailing list