diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-15 21:50:02 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-15 22:33:17 +0100 |
commit | b8591e596bde12c800d763c2c8e00456a7ac0ce5 (patch) | |
tree | 0fb0205f95cb65a8e409b427232541ca6bdef6aa /filter | |
parent | e2b2ffcccc1d78674a4f361f0da911de8303f54e (diff) |
coverity: fix mismatch between new[] and delete
Change-Id: I33b2b8ffd1a6ba539346ca19f6a34bc7f1c61e3d
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index d456be68d81e..217974fdfa88 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -231,7 +231,7 @@ void EscherPropertyContainer::AddOpt( sal_uInt16 nPropID, sal_Bool bBlib, sal_uI { pTemp[ i ] = pSortStruct[ i ]; } - delete pSortStruct; + delete[] pSortStruct; pSortStruct = pTemp; } pSortStruct[ nSortCount ].nPropId = nPropID; // insert property |