diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-29 19:02:37 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-29 19:13:19 -0500 |
commit | 469a202f5c387b71f698bf09ce0daefbcfd65dd3 (patch) | |
tree | 5934a6bded26cd17e17606b3c630e83df9683a82 /svx | |
parent | Now we can officially hide these flag values. (diff) | |
download | core-469a202f5c387b71f698bf09ce0daefbcfd65dd3.tar.gz core-469a202f5c387b71f698bf09ce0daefbcfd65dd3.zip |
Get it to build.
Change-Id: Ie239d3d0f8f4ec81a4c5dbed3a1a132117875c7c
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 3 | ||||
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 2 | ||||
-rw-r--r-- | svx/workben/msview/msview.cxx | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 54d4307a7522..dec1a0353233 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -445,8 +445,7 @@ void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString& rStr, pEntry->AddItem( pButton ); } - pContextBmp= new SvLBoxContextBmp( pEntry,0, rColl,rExp, - SVLISTENTRYFLAG_EXPANDED); + pContextBmp= new SvLBoxContextBmp(pEntry,0, rColl,rExp, true); pEntry->AddItem( pContextBmp ); pString = new SvLBoxColorString( pEntry, 0, rStr ,aEntryColor); diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index e3247ded4efe..199a289c8ada 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -140,7 +140,7 @@ void SvxFontListBox::InitEntry( if( nTreeFlags & TREEFLAG_CHKBTN ) pEntry->AddItem( new SvLBoxButton( pEntry, eButtonKind, 0, pCheckButtonData ) ); - pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, rCollImg, rExpImg, SVLISTENTRYFLAG_EXPANDED ) ); + pEntry->AddItem( new SvLBoxContextBmp(pEntry, 0, rCollImg, rExpImg, true) ); pEntry->AddItem( new SvLBoxFontString( pEntry, 0, rEntryText, maEntryFont, mpEntryColor ) ); } else diff --git a/svx/workben/msview/msview.cxx b/svx/workben/msview/msview.cxx index 9760d2af24f7..bb0ce74668ed 100644 --- a/svx/workben/msview/msview.cxx +++ b/svx/workben/msview/msview.cxx @@ -586,8 +586,8 @@ void AtomContainerTreeListBox::SetTabs() void AtomContainerTreeListBox::InitEntry(SvTreeListEntry* pEntry, const OUString& aStr, const Image& aCollEntryBmp, const Image& aExpEntryBmp) { - pEntry->AddItem( new SvLBoxContextBmp( pEntry,0, aCollEntryBmp,aExpEntryBmp, SVLISTENTRYFLAG_EXPANDED ) ); - pEntry->AddItem( new SvLBoxContextBmp( pEntry,0, maImgAtom, maImgAtom, SVLISTENTRYFLAG_EXPANDED ) ); + pEntry->AddItem( new SvLBoxContextBmp(pEntry,0, aCollEntryBmp,aExpEntryBmp, true) ); + pEntry->AddItem( new SvLBoxContextBmp(pEntry,0, maImgAtom, maImgAtom, true) ); pEntry->AddItem( new AtomBoxString( pEntry, aStr ) ); } |