coverity#704453: new[] vs delete mismatch

Change-Id: Idf32727e40605ab00c0423f57dbbcd744e898f7c
This commit is contained in:
Markus Mohrhard 2013-03-02 02:22:04 +01:00
parent 766170b61e
commit 9a05a482b0

View file

@ -458,7 +458,7 @@ Ww1Sprm::Ww1Sprm(SvStream& rStream, sal_uLong ulFilePos)
Ww1Sprm::~Ww1Sprm()
{
delete pArr;
delete[] pArr;
delete p;
}
@ -532,7 +532,7 @@ sal_Bool Ww1Sprm::Fill(sal_uInt16 index, sal_uInt8& nId, sal_uInt16& nL, sal_uIn
sal_Bool Ww1Sprm::ReCalc()
{
sal_Bool bRet = sal_True;
delete pArr;
delete[] pArr;
pArr = NULL;
count = 0;
if (nCountBytes != 255) // not unused?