summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorPalenik Mihály <palenik.mihaly@gmail.com>2015-01-25 01:03:57 +0100
committerAndras Timar <andras.timar@collabora.com>2015-01-25 16:11:05 +0000
commit148e489e33a34c6345326c9beaf248ac91f8cd01 (patch)
tree3677b1849ab70dfb59b7439ab46bc5c5a1fd1c82 /vcl/source
parent164903c0441a2cd79bc06708fe7e69780bb85a09 (diff)
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 <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/settings.cxx16
1 files changed, 0 insertions, 16 deletions
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;
@@ -1361,19 +1358,6 @@ StyleSettings::GetInactiveTabColor() const
}
void
-StyleSettings::SetRowColor( const Color& rColor )
-{
- CopyData();
- mpData->maRowColor = rColor;
-}
-
-const Color&
-StyleSettings::GetRowColor() const
-{
- return mpData->maRowColor;
-}
-
-void
StyleSettings::SetAlternatingRowColor( const Color& rColor )
{
CopyData();