diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-22 13:54:11 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-22 13:54:11 +0000 |
commit | ac57e636fa513b349e1d61dd89efd6e9101bf1db (patch) | |
tree | 9a3568fe7a30cb50e2977075bb773f444d7ef351 /idl/source/prj | |
parent | e6e72aa67bc88b64ddf27931670e39a33d705610 (diff) |
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
Diffstat (limited to 'idl/source/prj')
-rw-r--r-- | idl/source/prj/svidl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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 ); |