[Libreoffice-commits] .: svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Mar 21 02:13:37 PDT 2011


 svx/source/tbxctrls/grafctrl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9d0eb54ac912e117224e42a37838c826724ef77e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 21 09:10:45 2011 +0000

    WaE: remove unused argument

diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 03d7824..c1cbdcc 100755
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -311,7 +311,6 @@ public:
 
 ImplGrafControl::ImplGrafControl(
     Window* pParent,
-    sal_uInt16 /*nSlotId*/,
     const rtl::OUString& rCmd,
     const Reference< XFrame >& rFrame
 )   : Control( pParent, WB_TABSTOP )
@@ -594,7 +593,7 @@ void SvxGrafToolBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const
 
 Window* SvxGrafToolBoxControl::CreateItemWindow( Window *pParent )
 {
-    return( new ImplGrafControl( pParent, GetSlotId(), m_aCommandURL, m_xFrame ) );
+    return( new ImplGrafControl( pParent, m_aCommandURL, m_xFrame ) );
 }
 
 // ----------------------------


More information about the Libreoffice-commits mailing list