diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-18 11:02:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-18 11:03:00 +0200 |
commit | 0008c67004d3eb8e1fc7a5e13cd50269ba80e7d2 (patch) | |
tree | f366492e90770d9a2c5bfcc8e2f38eae01095e72 /svx/source/dialog/fontlb.cxx | |
parent | f1ff9375184607b86ae8807d7cf1220962425b51 (diff) |
drop unused params from SvLBoxItem and all it's subclasses
looks like this is fallout from commit
ac7acb0a "Merged SvTreeListBox and SvLBox."
(in year 2012)
Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906
Diffstat (limited to 'svx/source/dialog/fontlb.cxx')
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 87a482de4568..65f41e2e6649 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -30,10 +30,9 @@ SvLBoxFontString::SvLBoxFontString() { } -SvLBoxFontString::SvLBoxFontString( - SvTreeListEntry* pEntry, sal_uInt16 nFlags, const OUString& rString, +SvLBoxFontString::SvLBoxFontString( const OUString& rString, const vcl::Font& rFont, const Color* pColor ) : - SvLBoxString( pEntry, nFlags, rString ), + SvLBoxString( rString ), maFont( rFont ), mbUseColor( pColor != nullptr ) { @@ -135,11 +134,11 @@ void SvxFontListBox::InitEntry( { if( nTreeFlags & SvTreeFlags::CHKBTN ) pEntry->AddItem(std::unique_ptr<SvLBoxButton>(new SvLBoxButton( - pEntry, eButtonKind, 0, pCheckButtonData))); + eButtonKind, pCheckButtonData))); pEntry->AddItem(std::unique_ptr<SvLBoxContextBmp>(new SvLBoxContextBmp( - pEntry, 0, rCollImg, rExpImg, true))); + rCollImg, rExpImg, true))); pEntry->AddItem(std::unique_ptr<SvLBoxFontString>(new SvLBoxFontString( - pEntry, 0, rEntryText, maEntryFont, mpEntryColor))); + rEntryText, maEntryFont, mpEntryColor))); } else SvTreeListBox::InitEntry( pEntry, rEntryText, rCollImg, rExpImg, |