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
commit2650f297c3dd01806854d12bdcd54644ade21cf4 (patch)
tree82376a8c21c00ddf46aff43285bad61baac831df
parent1105a1681cb285b92592cde19daff76e189d71a4 (diff)
parent2f006bf20ad7dbd59ab0ac846f06e018c2c1c4fb (diff)
CWS-TOOLING: integrate CWS cmcfixes66
Notes
split repo tag: calc_ooo/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 0afc4fb1347c..afcd809eed1d 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 337329acfec6..8bbc561c9e43 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;
}