diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-22 14:25:56 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-22 14:25:56 -0500 |
commit | e91ccd784a2155f62195d3e80900741f3e6e970f (patch) | |
tree | a8025180471f0332302debc8103203bfab2bda98 /sc/source/ui/view/tabvwshf.cxx | |
parent | d5daccbdb1ab66b03ef50c7105b483312be94dfa (diff) |
calctabcolor: Entirely removed storage of tabcolor from ScViewDataTable.
Diffstat (limited to 'sc/source/ui/view/tabvwshf.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx index 4d877178fe0b..54f9cab2f693 100644 --- a/sc/source/ui/view/tabvwshf.cxx +++ b/sc/source/ui/view/tabvwshf.cxx @@ -751,7 +751,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) Color aTabBgColor; Color aNewTabBgColor; - aTabBgColor = pViewData->GetTabBgColor( nCurrentTab ); + aTabBgColor = pDoc->GetTabBgColor( nCurrentTab ); ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); DBG_ASSERT(pFact, "ScAbstractFactory create fail!"); AbstractScTabBgColorDlg* pDlg = pFact->CreateScTabBgColorDlg( @@ -935,7 +935,7 @@ void ScTabViewShell::GetStateTable( SfxItemSet& rSet ) case FID_TAB_SET_TAB_BG_COLOR: { Color aColor; - aColor = pViewData->GetTabBgColor( nTab ); + aColor = pDoc->GetTabBgColor( nTab ); rSet.Put( SvxColorItem( aColor, nWhich ) ); } break; |