[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Mon Aug 25 01:40:29 PDT 2014


 svx/source/tbxctrls/tbcontrl.cxx |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 8bfde0c1a6275c396e43829619d17350ba68c151
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Aug 25 10:39:33 2014 +0200

    loplugin:unreffun
    
    Change-Id: I6a772c32071a85579861e9f2c03f7664032ff643

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 4c2e985..881dcb9 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;


More information about the Libreoffice-commits mailing list