From 0a442d38157190c77eb04d53a90520913b93226c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 May 2015 13:11:02 +0200 Subject: loplugin:staticmethods Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a --- cui/source/customize/cfgutil.cxx | 15 --------------- cui/source/inc/cfgutil.hxx | 8 +------- 2 files changed, 1 insertion(+), 22 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index e6ca100f7690..0d990cab1024 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -256,11 +256,6 @@ SfxConfigFunctionListBox::SfxConfigFunctionListBox(vcl::Window* pParent, WinBits { SetStyle( GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_SORT ); GetModel()->SetSortMode( SortAscending ); - - // Timer for the BallonHelp - aTimer.SetTimeout( 200 ); - aTimer.SetTimeoutHdl( - LINK( this, SfxConfigFunctionListBox, TimerHdl ) ); } extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSfxConfigFunctionListBox(vcl::Window *pParent, VclBuilder::stringmap &rMap) @@ -289,16 +284,6 @@ void SfxConfigFunctionListBox::MouseMove( const MouseEvent& ) { } -IMPL_LINK_TYPED( SfxConfigFunctionListBox, TimerHdl, Timer*, pTimer, void) -/* Description - Timer-handler for showing a help-text. If the mouse pointer is - still on the currently selected entry after the timer has run out, - the entry's help-text is shown as a balloon-help. -*/ -{ - (void)pTimer; // unused -} - void SfxConfigFunctionListBox::ClearAll() /* Description Deletes all entries in the FunctionListBox, all UserData and all diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index c6c3ad9d9ea8..c6ba6eaaae21 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -93,21 +93,15 @@ struct SfxGroupInfo_Impl nKind( n ), nUniqueID( nr ), pObject( pObj ), bWasOpened(false) {} }; -struct CuiMacroInfo -{ -}; - typedef boost::ptr_vector SfxGroupInfoArr_Impl; class SfxConfigFunctionListBox : public SvTreeListBox { friend class SfxConfigGroupListBox; - Timer aTimer; - SvTreeListEntry* pCurEntry; + SvTreeListEntry* pCurEntry; SfxGroupInfoArr_Impl aArr; SfxStylesInfo_Impl* pStylesInfo; - DECL_LINK_TYPED( TimerHdl, Timer*, void ); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; public: -- cgit v1.2.3