diff options
author | Jesso Clarence Murugan <developer.jesso@gmail.com> | 2012-07-16 12:18:02 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-16 11:44:42 +0100 |
commit | 8a768fe2d780bdcb60c0dc0c4bc38410052233a4 (patch) | |
tree | 205ac02312712f026a9ab811f4ce10b539687d5a /vcl/source/window/toolbox2.cxx | |
parent | 1d1e7313ab076c919ce1bd095bac07480cea392f (diff) |
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
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } |