diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-17 13:23:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 06:15:55 +0000 |
commit | 292560a957498bed70b625c992ec6bcf631dceb3 (patch) | |
tree | 4b4c39fbabf370d870ac9a5b2c6154df2238599a /svtools | |
parent | e64ea98801d20e5024da900a0ac8faaf565f4bf3 (diff) |
loplugin:unusedmethods
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4
Reviewed-on: https://gerrit.libreoffice.org/29968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/valueset.cxx | 20 |
2 files changed, 4 insertions, 22 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 6a73703ea57d..00eec207ad5f 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -674,12 +674,6 @@ Size ToolbarMenu::implCalcSize() } -void ToolbarMenu::highlightFirstEntry() -{ - implChangeHighlightEntry( 0 ); -} - - void ToolbarMenu::GetFocus() { if( mpImpl && mpImpl->mnHighlightedEntry == -1 ) diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 7b5cfbaca102..d8d79ccb4496 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -55,7 +55,10 @@ enum } -void ValueSet::ImplInit() +ValueSet::ValueSet( vcl::Window* pParent, WinBits nWinStyle ) : + Control( pParent, nWinStyle ), + maVirDev( VclPtr<VirtualDevice>::Create(*this) ), + maColor( COL_TRANSPARENT ) { mpNoneItem.reset(nullptr); mxScrollBar.reset(nullptr); @@ -95,13 +98,6 @@ void ValueSet::ImplInit() ImplInitSettings( true, true, true ); } -ValueSet::ValueSet( vcl::Window* pParent, WinBits nWinStyle ) : - Control( pParent, nWinStyle ), - maVirDev( VclPtr<VirtualDevice>::Create(*this) ), - maColor( COL_TRANSPARENT ) -{ - ImplInit(); -} VCL_BUILDER_DECL_FACTORY(ValueSet) { @@ -114,14 +110,6 @@ VCL_BUILDER_DECL_FACTORY(ValueSet) rRet = VclPtr<ValueSet>::Create(pParent, nWinBits); } -ValueSet::ValueSet( vcl::Window* pParent, const ResId& rResId ) : - Control( pParent, rResId ), - maVirDev( VclPtr<VirtualDevice>::Create(*this) ), - maColor( COL_TRANSPARENT ) -{ - ImplInit(); -} - ValueSet::~ValueSet() { disposeOnce(); |