summaryrefslogtreecommitdiff
path: root/psprint/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2002-07-17 12:00:20 +0000
committerPhilipp Lohmann <pl@openoffice.org>2002-07-17 12:00:20 +0000
commite6c5f6d1ca49ee5f20d3b12b28eb15ce0b421fbb (patch)
tree63691248a1271fea965311e2c80516a2819251c1 /psprint/source
parent1b8dc34b5ae679ec051a562ec90fe430ba58052e (diff)
#90353# use correct deallocator
Diffstat (limited to 'psprint/source')
-rw-r--r--psprint/source/helper/helper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/psprint/source/helper/helper.cxx b/psprint/source/helper/helper.cxx
index db89f96025f6..8ddd4efe4849 100644
--- a/psprint/source/helper/helper.cxx
+++ b/psprint/source/helper/helper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: helper.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: pl $ $Date: 2002-07-10 11:48:46 $
+ * last change: $Author: pl $ $Date: 2002-07-17 13:00:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -273,7 +273,7 @@ bool psp::convertPfbToPfa( ::osl::File& rInFile, ::osl::File& rOutFile )
if( rOutFile.write( pWriteBuffer, nBytesToWrite, nRead ) || nRead != nBytesToWrite )
bSuccess = false;
- delete pWriteBuffer;
+ delete [] pWriteBuffer;
}
else
{
@@ -302,7 +302,7 @@ bool psp::convertPfbToPfa( ::osl::File& rInFile, ::osl::File& rOutFile )
else
bSuccess = false;
- delete pBuffer;
+ delete [] pBuffer;
}
else if( nType == 3 )
bEof = true;