diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 10:39:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 10:39:33 +0200 |
commit | 8bfde0c1a6275c396e43829619d17350ba68c151 (patch) | |
tree | ae23cbb579c935c5532c1ae7860c6ce6bc9bbea8 | |
parent | 5170d822aa058ff5abc737a50e2b9d8e15b87eab (diff) |
loplugin:unreffun
Change-Id: I6a772c32071a85579861e9f2c03f7664032ff643
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 4c2e985c6942..881dcb98e1a6 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -138,7 +138,6 @@ public: inline void SetVisibilityListener( const Link& aVisListener ) { aVisibilityListener = aVisListener; } void SetDefaultStyle( const OUString& rDefault ) { sDefaultStyle = rDefault; } - DECL_STATIC_LINK( SvxStyleBox_Impl, FocusHdl_Impl, Control* ); protected: virtual void Select() SAL_OVERRIDE; @@ -661,14 +660,6 @@ void SvxStyleBox_Impl::UserDraw( const UserDrawEvent& rUDEvt ) } } -IMPL_STATIC_LINK( SvxStyleBox_Impl, FocusHdl_Impl, Control*, _pCtrl ) -{ - (void)pThis; - if ( _pCtrl ) - _pCtrl->GrabFocus(); - return 0; -} - static bool lcl_GetDocFontList( const FontList** ppFontList, SvxFontNameBox_Impl* pBox ) { bool bChanged = false; |