diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 13:30:48 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 13:30:48 +0000 |
commit | 2c59ab6b885f6a53cc661340ac22620f21e5ae79 (patch) | |
tree | 7314f0b2672017f1068d07606654bcb483f0a3ae /vcl | |
parent | 983e924e5f7699996df0d73747daa9e78e8d176f (diff) |
INTEGRATION: CWS vcl13 (1.79.20); FILE MERGED
2003/06/20 11:26:39 pl 1.79.20.1: #110362# operator new/delete mismatch
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/winproc.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 248bad2c0329..3cd25c5d0434 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: winproc.cxx,v $ * - * $Revision: 1.79 $ + * $Revision: 1.80 $ * - * last change: $Author: vg $ $Date: 2003-05-28 12:33:10 $ + * last change: $Author: hr $ $Date: 2003-06-30 14:30:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1309,7 +1309,7 @@ static long ImplHandleExtTextInput( Window* pWindow, ULONG nTime, pWinData->mpExtOldText->Erase(); if ( pWinData->mpExtOldAttrAry ) { - delete pWinData->mpExtOldAttrAry; + delete [] pWinData->mpExtOldAttrAry; pWinData->mpExtOldAttrAry = NULL; } pSVData->maWinData.mpExtTextInputWin = pChild; @@ -1362,7 +1362,7 @@ static long ImplHandleExtTextInput( Window* pWindow, ULONG nTime, *pWinData->mpExtOldText = rText; if ( pWinData->mpExtOldAttrAry ) { - delete pWinData->mpExtOldAttrAry; + delete [] pWinData->mpExtOldAttrAry; pWinData->mpExtOldAttrAry = NULL; } if ( pTextAttr ) @@ -1393,7 +1393,7 @@ static long ImplHandleEndExtTextInput( Window* /* pWindow */ ) } if ( pWinData->mpExtOldAttrAry ) { - delete pWinData->mpExtOldAttrAry; + delete [] pWinData->mpExtOldAttrAry; pWinData->mpExtOldAttrAry = NULL; } nRet = !ImplCallCommand( pChild, COMMAND_ENDEXTTEXTINPUT ); |