From ac57e636fa513b349e1d61dd89efd6e9101bf1db Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 22 Apr 2005 13:54:11 +0000 Subject: INTEGRATION: CWS mh1990 (1.1.1.1.122); FILE MERGED 2005/04/10 09:24:12 mh 1.1.1.1.122.1: #i45440#, delete void is undefined --- idl/source/prj/svidl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'idl/source/prj') diff --git a/idl/source/prj/svidl.cxx b/idl/source/prj/svidl.cxx index 6bd36f4b4fdb..3001d66a5d4b 100644 --- a/idl/source/prj/svidl.cxx +++ b/idl/source/prj/svidl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svidl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:30:41 $ + * last change: $Author: obo $ $Date: 2005-04-22 14:54:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -87,8 +87,8 @@ BOOL FileMove_Impl( const String & rFile1, const String & rFile2, BOOL bImmerVer SvFileStream aOutStm2( rFile2, STREAM_STD_READ ); if( aOutStm1.GetError() == SVSTREAM_OK ) { - void * pBuf1 = new BYTE[ BR ]; - void * pBuf2 = new BYTE[ BR ]; + BYTE * pBuf1 = new BYTE[ BR ]; + BYTE * pBuf2 = new BYTE[ BR ]; nC1 = aOutStm1.Read( pBuf1, BR ); nC2 = aOutStm2.Read( pBuf2, BR ); BOOL bOk = TRUE; @@ -107,8 +107,8 @@ BOOL FileMove_Impl( const String & rFile1, const String & rFile2, BOOL bImmerVer nC2 = aOutStm2.Read( pBuf2, BR ); } } - delete pBuf1; - delete pBuf2; + delete[] pBuf1; + delete[] pBuf2; } } DirEntry aF2( rFile2 ); -- cgit