diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 19:28:46 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 19:28:46 -0500 |
commit | 88c02b23be641857baca869a48719512a74019f6 (patch) | |
tree | 580cad88240701c6dcc52d13ef4be91d808324ee /sc/source/ui/docshell/docfunc.cxx | |
parent | 6965b785f51b496356f085274805bfa013e16a01 (diff) |
calctabcolor: Cleaned up a bit.
1) Keep the name of a struct shorter.
2) Data members should start with an 'm'.
that sort of stuff...
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 308f45e4de98..2669dcf00b64 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -2893,7 +2893,7 @@ bool ScDocFunc::SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bo } bool ScDocFunc::SetTabBgColor( - ScUndoSetTabBgColorInfoList& rUndoTabColorList, bool bRecord, bool bApi ) + ScUndoTabColorInfo::List& rUndoTabColorList, bool bRecord, bool bApi ) { ScDocument* pDoc = rDocShell.GetDocument(); if (bRecord && !pDoc->IsUndoEnabled()) @@ -2913,12 +2913,12 @@ bool ScDocFunc::SetTabBgColor( size_t nTabListCount = rUndoTabColorList.size(); for ( size_t i = 0; i < nTabListCount; ++i ) { - ScUndoSetTabBgColorInfo& rInfo = rUndoTabColorList[i]; - nTab = rInfo.nTabId; + ScUndoTabColorInfo& rInfo = rUndoTabColorList[i]; + nTab = rInfo.mnTabId; if ( !pDoc->IsTabProtected(nTab) ) { - aNewTabBgColor = rInfo.aNewTabBgColor; - rInfo.aOldTabBgColor = pDoc->GetTabBgColor(nTab); + aNewTabBgColor = rInfo.maNewTabBgColor; + rInfo.maOldTabBgColor = pDoc->GetTabBgColor(nTab); pDoc->SetTabBgColor(nTab, aNewTabBgColor); if ( pDoc->GetTabBgColor(nTab) != aNewTabBgColor) { |