diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-03 11:32:06 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-03 11:32:06 +0000 |
commit | a47da1d152eec09bbd31ca0b169751ba413d653d (patch) | |
tree | b31bda05977077efac22af076e454722efa15fe6 /sax/source | |
parent | fa5d84f5d462a04c8c10d44d281194d0773c8825 (diff) |
INTEGRATION: CWS cmcfixes35 (1.9.20); FILE MERGED
2007/07/06 12:18:35 cmc 1.9.20.1: #i79003# new[] vs delete
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx index 3d7b9649c6d5..38e02310c732 100644 --- a/sax/source/expatwrap/xml2utf.cxx +++ b/sax/source/expatwrap/xml2utf.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xml2utf.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2006-06-26 09:42:10 $ + * last change: $Author: hr $ $Date: 2007-08-03 12:32:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -459,7 +459,7 @@ Sequence<sal_Unicode> Text2UnicodeConverter::convert( const Sequence<sal_Int8> & if( pbTempMem ) { - delete pbTempMem; + delete [] pbTempMem; } // set to correct unicode size @@ -574,7 +574,7 @@ Sequence<sal_Int8> Unicode2TextConverter::convert(const sal_Unicode *puSource , } if( puTempMem ) { - delete puTempMem; + delete [] puTempMem; } // reduce the size of the buffer (fast, no copy necessary) |