[Libreoffice-commits] .: vcl/unx

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Wed Nov 17 11:55:46 PST 2010


 vcl/unx/gtk/window/gtkframe.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit a2603a2edb54f78a746e5edfba181d429727dea7
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Wed Nov 17 20:55:07 2010 +0100

    Fixed remaining use of HighContrast defines

diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index d09c241..39f5f87 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -1113,13 +1113,6 @@ void GtkSalFrame::SetIcon( USHORT nIcon )
 
     USHORT nOffsets[2] = { SV_ICON_SMALL_START, SV_ICON_LARGE_START };
     USHORT nIndex;
-
-    // Use high contrast icons where appropriate
-    if( Application::GetSettings().GetStyleSettings().GetHighContrastMode() )
-    {
-        nOffsets[0] = SV_ICON_LARGE_HC_START;
-        nOffsets[1] = SV_ICON_SMALL_HC_START;
-    }
     
     for( nIndex = 0; nIndex < sizeof(nOffsets)/ sizeof(USHORT); nIndex++ )
     {


More information about the Libreoffice-commits mailing list