summaryrefslogtreecommitdiff
path: root/svx/source/dialog/fontlb.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-18 11:02:37 +0200
committerNoel Grandin <noel@peralex.com>2016-03-18 11:03:00 +0200
commit0008c67004d3eb8e1fc7a5e13cd50269ba80e7d2 (patch)
treef366492e90770d9a2c5bfcc8e2f38eae01095e72 /svx/source/dialog/fontlb.cxx
parentf1ff9375184607b86ae8807d7cf1220962425b51 (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.cxx11
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,