From 51791eaf8611287c21ad53645036a77c1dd84ddf Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Tue, 6 Mar 2012 15:01:13 +0000 Subject: remove misc. unused code --- svx/inc/svx/graphctl.hxx | 1 - svx/source/dialog/graphctl.cxx | 21 --------------------- 2 files changed, 22 deletions(-) (limited to 'svx') diff --git a/svx/inc/svx/graphctl.hxx b/svx/inc/svx/graphctl.hxx index b2352103d566..21c376c0a15a 100644 --- a/svx/inc/svx/graphctl.hxx +++ b/svx/inc/svx/graphctl.hxx @@ -91,7 +91,6 @@ protected: public: - GraphCtrl( Window* pParent, const WinBits nWinBits = 0 ); GraphCtrl( Window* pParent, const ResId& rResId ); ~GraphCtrl(); diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index d8f3f9facc60..019cf610fcc2 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -63,27 +63,6 @@ void GraphCtrlUserCall::Changed( const SdrObject& rObj, SdrUserCallType eType, c } } -GraphCtrl::GraphCtrl( Window* pParent, const WinBits nWinBits ) : - Control ( pParent, nWinBits ), - aMap100 ( MAP_100TH_MM ), - eObjKind ( OBJ_NONE ), - nPolyEdit ( 0 ), - bEditMode ( sal_False ), - bSdrMode ( sal_False ), - mpAccContext ( NULL ), - pModel ( NULL ), - pView ( NULL ) -{ - pUserCall = new GraphCtrlUserCall( *this ); - aUpdateTimer.SetTimeout( 200 ); - aUpdateTimer.SetTimeoutHdl( LINK( this, GraphCtrl, UpdateHdl ) ); - aUpdateTimer.Start(); - - SetWinStyle( nWinBits ); - - EnableRTL( sal_False ); -} - GraphCtrl::GraphCtrl( Window* pParent, const ResId& rResId ) : Control ( pParent, rResId ), aMap100 ( MAP_100TH_MM ), -- cgit