diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-07-22 06:39:28 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-07-22 06:39:28 +0000 |
commit | 663488fd743ea1f08cc535510fb586ba01c3d800 (patch) | |
tree | 61113db1817ede1a2807964b5197c98c8e53ff29 /dbaccess/source/ui/control/marktree.cxx | |
parent | 99ffb563c56c9d9e86f55d2faa905d1131c9e1d5 (diff) |
#101514# remove resource entries for PLUS and MINUS
Diffstat (limited to 'dbaccess/source/ui/control/marktree.cxx')
-rw-r--r-- | dbaccess/source/ui/control/marktree.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dbaccess/source/ui/control/marktree.cxx b/dbaccess/source/ui/control/marktree.cxx index d8305f0848bf..008361e3a038 100644 --- a/dbaccess/source/ui/control/marktree.cxx +++ b/dbaccess/source/ui/control/marktree.cxx @@ -2,9 +2,9 @@ * * $RCSfile: marktree.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: gt $ $Date: 2002-05-24 09:54:45 $ + * last change: $Author: oj $ $Date: 2002-07-22 07:37:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -121,9 +121,7 @@ void OMarkableTreeListBox::Paint(const Rectangle& _rRect) //------------------------------------------------------------------------ void OMarkableTreeListBox::InitButtonData() { - sal_Bool bHiContrast = GetBackground().GetColor().IsDark(); - SetNodeBitmaps( Bitmap(ModuleRes( bHiContrast ? BMP_PLUSBUTTON_SCH : BMP_PLUSBUTTON)), - Bitmap(ModuleRes( bHiContrast ? BMP_MINUSBUTTON_SCH : BMP_MINUSBUTTON))); + SetNodeDefaultImages( ); m_pCheckButton = new SvLBoxButtonData( this ); OMarkableTreeListBox::notifyHiContrastChanged(); @@ -360,6 +358,9 @@ SvLBoxEntry* OMarkableTreeListBox::GetEntryPosByName(const String& aName,SvLBoxE /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.7 2002/05/24 09:54:45 gt + * #99251# use of default images from SvLBoxButtonData + * * Revision 1.6 2002/04/29 08:49:26 oj * #98772# hi contrast changes * |