From 8a768fe2d780bdcb60c0dc0c4bc38410052233a4 Mon Sep 17 00:00:00 2001 From: Jesso Clarence Murugan Date: Mon, 16 Jul 2012 12:18:02 +0300 Subject: Replaced all calls to deprecated function ImplDelData::IsDelete() Deleted the function ImplDelData::IsDelete() and replaced all calls to it with calls to ImplDelData::IsDead() directly. IsDelete () function itself was only a simple wrapper to IsDead () (and mentioned as deprecated) Change-Id: I71baf68801219cfbe2d2dc41d6bd5e419b9b4a87 --- vcl/source/window/toolbox2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/window/toolbox2.cxx') diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index ff2c3bb2d1f1..0a16c9d3d4e6 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -524,7 +524,7 @@ void ToolBox::Select() ImplCallEventListeners( VCLEVENT_TOOLBOX_SELECT ); maSelectHdl.Call( this ); - if ( aDelData.IsDelete() ) + if ( aDelData.IsDead() ) return; ImplRemoveDel( &aDelData ); @@ -2047,7 +2047,7 @@ void ToolBox::ImplExecuteCustomMenu() sal_uInt16 uId = GetMenu()->Execute( pWin, Rectangle( ImplGetPopupPosition( aMenuRect, Size() ), Size() ), POPUPMENU_EXECUTE_DOWN | POPUPMENU_NOMOUSEUPCLOSE ); - if ( aDelData.IsDelete() ) + if ( aDelData.IsDead() ) return; ImplRemoveDel( &aDelData ); @@ -2055,7 +2055,7 @@ void ToolBox::ImplExecuteCustomMenu() GetMenu()->RemoveEventListener( LINK( this, ToolBox, ImplCustomMenuListener ) ); if( bBorderDel ) { - if( aBorderDel.IsDelete() ) + if( aBorderDel.IsDead() ) return; pWin->ImplRemoveDel( &aBorderDel ); } -- cgit