summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@openoffice.org>2010-10-20 22:48:22 +0200
committerBartosz Kosiorek <gang65@openoffice.org>2010-10-20 22:48:22 +0200
commit34c34dbd077e1788d8685eee5b4a5aa264531f3b (patch)
tree2b291a2c5b9a448b8ebabd3b0c5be6a88a5b7357 /sc/source/ui/docshell/docfunc.cxx
parente443106e71a52fd1e7ee2e095dcbcbca70d19606 (diff)
parentf7442ff60ad8ee01cfdf0e5cebed4f50d2ca0a79 (diff)
svarray: merge with DEV300 m90
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 36b6641d94a6..fc8ba28a217e 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2806,7 +2806,7 @@ BOOL ScDocFunc::DeleteTable( SCTAB nTab, BOOL bRecord, BOOL /* bApi */ )
if (bRecord)
{
SvShorts theTabs;
- theTabs.Insert(nTab,theTabs.Count());
+ theTabs.push_back(nTab);
rDocShell.GetUndoManager()->AddUndoAction(
new ScUndoDeleteTab( &rDocShell, theTabs, pUndoDoc, pUndoData ));
}