From 0c2b43b70776ea49655a7f18c6c11dc64a5f25b2 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 2 Oct 2014 00:58:08 +0200 Subject: Improved striped rows implementation Some renaming, use variable for row background when not striped Change-Id: I5b36fc751aa163dbb127406d7aefad01974fa371 --- include/svtools/treelistbox.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/svtools') diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index f54f32439d5d..fb6965686b2f 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -236,7 +236,7 @@ class SVT_DLLPUBLIC SvTreeListBox sal_uInt16 nLastSelTab; long mnCheckboxItemWidth; bool mbContextBmpExpanded; - bool mbAlternatingRowColor; + bool mbAlternatingRowColors; SvTreeListEntry* pHdlEntry; SvLBoxItem* pHdlItem; @@ -780,8 +780,8 @@ public: virtual Size GetOptimalSize() const SAL_OVERRIDE; - void SetAlternatingRow( const bool bEnable ); - bool IsRowAlternating() const { return mbAlternatingRowColor; } + void SetAlternatingRowColors( const bool bEnable ); + bool IsAlternatingRowColors() const { return mbAlternatingRowColors; } }; #define SV_LBOX_DD_FORMAT "SV_LBOX_DD_FORMAT" -- cgit