diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 14:59:06 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 14:59:06 -0500 |
commit | bccc6db5b56e54cd790f1dc3ae9063326d8c362c (patch) | |
tree | 43bbde2db1df8c47a5c129a06b528fa5c3a42bbe /sc/source/ui/dbgui/pvlaydlg.cxx | |
parent | 663aab2ca85ee41f01c80c34207733500fc9b763 (diff) |
Encapsulated access to aSourceRange.
Diffstat (limited to 'sc/source/ui/dbgui/pvlaydlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pvlaydlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx index 26c97dee0ea4..1c04da3db327 100644 --- a/sc/source/ui/dbgui/pvlaydlg.cxx +++ b/sc/source/ui/dbgui/pvlaydlg.cxx @@ -248,7 +248,7 @@ void ScDPLayoutDlg::Init(bool bNewOutput) { aEdInPos.Enable(); aRbInPos.Enable(); - aOldRange = xDlgDPObject->GetSheetDesc()->aSourceRange; + aOldRange = xDlgDPObject->GetSheetDesc()->GetSourceRange(); aOldRange.Format( inString, SCR_ABS_3D, pDoc, pDoc->GetAddressConvention() ); aEdInPos.SetText(inString); } @@ -1466,12 +1466,12 @@ void ScDPLayoutDlg::UpdateSrcRange() aBtnOk.Enable(); ScSheetSourceDesc inSheet = *xDlgDPObject->GetSheetDesc(); - if (inSheet.aSourceRange == aNewRange) + if (inSheet.GetSourceRange() == aNewRange) // new range is identical to the current range. Nothing to do. return; ScTabViewShell * pTabViewShell = pViewData->GetViewShell(); - inSheet.aSourceRange = aNewRange; + inSheet.SetSourceRange(aNewRange); xDlgDPObject->SetSheetDesc(inSheet); xDlgDPObject->FillOldParam( thePivotData, FALSE ); xDlgDPObject->FillLabelData(thePivotData); |