diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 20:31:55 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 20:31:55 -0500 |
commit | 8c3ff16202ed7c0d4c73822c72381d1c1fa7d0fa (patch) | |
tree | 472cb76e7221ac24dc9c860677bb3834e29a4c40 /sc/source/ui/docshell/docfunc.cxx | |
parent | 88c02b23be641857baca869a48719512a74019f6 (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.cxx | 4 |
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 ); |