diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-12-20 13:11:23 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-12-20 13:11:23 +0000 |
commit | 69afe5eac01eb5afe10bac37321971f5589380f4 (patch) | |
tree | 41104798ec7f98302c89b31025f7988c5628e17b /svx/source/dialog/fontlb.cxx | |
parent | INTEGRATION: CWS jl49 (1.14.116); FILE MERGED (diff) | |
download | core-69afe5eac01eb5afe10bac37321971f5589380f4.tar.gz core-69afe5eac01eb5afe10bac37321971f5589380f4.zip |
INTEGRATION: CWS jl49 (1.5.148); FILE MERGED
2006/11/30 13:45:54 sb 1.5.148.1: #i70481# Extended SvLBoxButton.
Diffstat (limited to 'svx/source/dialog/fontlb.cxx')
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index cde433ebbbd9..4b311385d5c1 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fontlb.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2006-09-17 04:19:50 $ + * last change: $Author: ihi $ $Date: 2006-12-20 14:11:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -155,17 +155,20 @@ XubString SvxFontListBox::GetSelectEntry() const void SvxFontListBox::InitEntry( SvLBoxEntry* pEntry, const XubString& rEntryText, - const Image& rCollImg, const Image& rExpImg ) + const Image& rCollImg, const Image& rExpImg, + SvLBoxButtonKind eButtonKind ) { if( mbUseFont ) { if( nTreeFlags & TREEFLAG_CHKBTN ) - pEntry->AddItem( new SvLBoxButton( pEntry, 0, pCheckButtonData ) ); + pEntry->AddItem( new SvLBoxButton( pEntry, eButtonKind, 0, + pCheckButtonData ) ); pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, rCollImg, rExpImg, SVLISTENTRYFLAG_EXPANDED ) ); pEntry->AddItem( new SvLBoxFontString( pEntry, 0, rEntryText, maEntryFont, mpEntryColor ) ); } else - SvTreeListBox::InitEntry( pEntry, rEntryText, rCollImg, rExpImg ); + SvTreeListBox::InitEntry( pEntry, rEntryText, rCollImg, rExpImg, + eButtonKind ); } |