summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-02-23 20:31:55 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-02-23 20:31:55 -0500
commit8c3ff16202ed7c0d4c73822c72381d1c1fa7d0fa (patch)
tree472cb76e7221ac24dc9c860677bb3834e29a4c40 /sc/source/ui/docshell/docfunc.cxx
parent88c02b23be641857baca869a48719512a74019f6 (diff)
calctabcolor: Further simplified the undo class for setting tab colors.
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 2669dcf00b64..09205d518f19 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2880,7 +2880,7 @@ bool ScDocFunc::SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bo
if (bRecord)
{
rDocShell.GetUndoManager()->AddUndoAction(
- new ScUndoSetTabBgColor( &rDocShell, nTab, aOldTabBgColor, rColor));
+ new ScUndoTabColor( &rDocShell, nTab, aOldTabBgColor, rColor));
}
rDocShell.PostPaintExtras();
ScDocShellModificator aModificator( rDocShell );
@@ -2944,7 +2944,7 @@ bool ScDocFunc::SetTabBgColor(
if (bRecord)
{
rDocShell.GetUndoManager()->AddUndoAction(
- new ScUndoSetTabBgColor( &rDocShell, rUndoTabColorList));
+ new ScUndoTabColor( &rDocShell, rUndoTabColorList));
}
rDocShell.PostPaintExtras();
ScDocShellModificator aModificator( rDocShell );