summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-22 10:17:18 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2010-11-22 10:17:18 +0100
commit42b9e74aa96ae39c7f37c018a473ebf12425b77f (patch)
tree3712f23db271547901934a070c664fa2fcd7b659 /sc/source/ui/docshell/docfunc.cxx
parent0b39390afa09c22da1e3d047f3ff87c5e50c37c7 (diff)
parented82e3fdceba985d06ace98120a8b8bb1f13045a (diff)
undoapi: merge after pulling 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 8896b357289c..ba5b040d1cd8 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2801,7 +2801,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 ));
}