From 148e489e33a34c6345326c9beaf248ac91f8cd01 Mon Sep 17 00:00:00 2001 From: Palenik Mihály Date: Sun, 25 Jan 2015 01:03:57 +0100 Subject: fdo#84592 Improve SvTreeListBox class with alternating rows. It is possible to set alternating rows. Expert Configuration dialog use it. This bug was fixed earlier, but after this feature didn't work. Change-Id: I3602a6b03db32d6f43ec163de2427f4a018c7779 Reviewed-on: https://gerrit.libreoffice.org/14164 Reviewed-by: Andras Timar Tested-by: Andras Timar --- vcl/source/app/settings.cxx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'vcl/source/app/settings.cxx') diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 95308ef0686a..57377ff3fb27 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -91,7 +91,6 @@ struct ImplStyleData Color maActiveBorderColor; Color maActiveColor; Color maActiveTextColor; - Color maRowColor; Color maAlternatingRowColor; Color maButtonTextColor; Color maButtonRolloverTextColor; @@ -563,7 +562,6 @@ ImplStyleData::ImplStyleData( const ImplStyleData& rData ) : maActiveBorderColor( rData.maActiveBorderColor ), maActiveColor( rData.maActiveColor ), maActiveTextColor( rData.maActiveTextColor ), - maRowColor( rData.maRowColor ), maAlternatingRowColor( rData.maAlternatingRowColor ), maButtonTextColor( rData.maButtonTextColor ), maButtonRolloverTextColor( rData.maButtonRolloverTextColor ), @@ -742,7 +740,6 @@ void ImplStyleData::SetStandardStyles() maVisitedLinkColor = Color( 0x00, 0x00, 0xCC ); maHighlightLinkColor = Color( COL_LIGHTBLUE ); maFontColor = Color( COL_BLACK ); - maRowColor = Color( COL_WHITE ); maAlternatingRowColor = Color( 0xEE, 0xEE, 0xEE ); mnBorderSize = 1; @@ -1360,19 +1357,6 @@ StyleSettings::GetInactiveTabColor() const return mpData->maInactiveTabColor; } -void -StyleSettings::SetRowColor( const Color& rColor ) -{ - CopyData(); - mpData->maRowColor = rColor; -} - -const Color& -StyleSettings::GetRowColor() const -{ - return mpData->maRowColor; -} - void StyleSettings::SetAlternatingRowColor( const Color& rColor ) { -- cgit v1.2.3