summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 19:16:08 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 19:16:08 +0100
commit74ffeb5bea3ff682473ed5c282762e04d453c207 (patch)
tree756049f3fed72d506833d7af9ca83b8a4d741b76
parentce9641d0b89b07fdffc8d8014e77e5816ebc09a6 (diff)
parent003e3bb1a0a225db40d3cdde531014dcf594db40 (diff)
CWS-TOOLING: integrate CWS cmcfixes66ooo/DEV300_m65
-rw-r--r--sc/source/core/data/column.cxx4
-rw-r--r--sc/source/ui/dbgui/tpsubt.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 81586a1e7..28e5b72b1 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1233,8 +1233,8 @@ void ScColumn::InsertRow( SCROW nStartRow, SCSIZE nSize )
}
}
- delete pDelRows;
- delete ppDelCells;
+ delete [] pDelRows;
+ delete [] ppDelCells;
}
pDocument->SetAutoCalc( bOldAutoCalc );
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx
index 676df4424..8c675ca14 100644
--- a/sc/source/ui/dbgui/tpsubt.cxx
+++ b/sc/source/ui/dbgui/tpsubt.cxx
@@ -276,8 +276,8 @@ BOOL ScTpSubTotalGroup::DoFillItemSet( USHORT nGroupNo,
rArgSet.Put( ScSubTotalItem( SCITEM_SUBTDATA, &theSubTotalData ) );
- if ( pSubTotals ) delete pSubTotals;
- if ( pFunctions ) delete pFunctions;
+ if ( pSubTotals ) delete [] pSubTotals;
+ if ( pFunctions ) delete [] pFunctions;
return TRUE;
}