summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-11-19 11:35:41 +0100
committersb <sb@openoffice.org>2010-11-19 11:35:41 +0100
commitb99928b966518513afbace451baab88fd484643d (patch)
tree74927ace3c9e0a656ab7a2ac7290362b2b3f4b00 /sc/source/ui/docshell/docfunc.cxx
parent4ffe09429872beed5f8d92b5d3efc65f1efe45d8 (diff)
parented82e3fdceba985d06ace98120a8b8bb1f13045a (diff)
sb131: merged in re/DEV300_next towards DEV300_m94
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 ));
}