summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-05 13:11:02 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 14:05:20 +0200
commit0a442d38157190c77eb04d53a90520913b93226c (patch)
tree098c26d65ed949ec67ee92aebf0ce44b11914471 /cui
parent7d426e6fd681c6f0fb45a69f3ac7076817495135 (diff)
loplugin:staticmethods
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfgutil.cxx15
-rw-r--r--cui/source/inc/cfgutil.hxx8
2 files changed, 1 insertions, 22 deletions
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<SfxGroupInfo_Impl> 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: