[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Fri Jan 21 23:05:37 PST 2011
sc/source/ui/dbgui/pvlaydlg.cxx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 09a427943cc52f38814bd17f7fa164b1af1949af
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Sat Jan 22 02:05:02 2011 -0500
Disable recalc on source change & don't copy the dp object too much.
diff --git a/sc/source/ui/dbgui/pvlaydlg.cxx b/sc/source/ui/dbgui/pvlaydlg.cxx
index 9c5faf5..7804da1 100644
--- a/sc/source/ui/dbgui/pvlaydlg.cxx
+++ b/sc/source/ui/dbgui/pvlaydlg.cxx
@@ -362,6 +362,7 @@ void ScDPLayoutDlg::InitWndSelect( const vector<ScDPLabelDataRef>& rLabels )
aSelectArr.push_back(p);
}
aWndSelect.ResetScrollBar();
+ aWndSelect.Paint(Rectangle());
}
//----------------------------------------------------------------------------
@@ -1451,12 +1452,9 @@ void ScDPLayoutDlg::UpdateSrcRange()
}
xDlgDPObject->SetSheetDesc(inSheet);
- xDlgDPObject->RefreshCache();
xDlgDPObject->FillOldParam( thePivotData, FALSE );
xDlgDPObject->FillLabelData(thePivotData);
- ScTabViewShell* pTabViewShell = pViewData->GetViewShell();
- pTabViewShell->SetDialogDPObject(xDlgDPObject.get());
aLabelDataArr.clear();
aWndSelect.ClearFields();
aWndData.ClearFields();
@@ -1764,6 +1762,9 @@ IMPL_LINK( ScDPLayoutDlg, OkHdl, OKButton *, EMPTYARG )
SetDispatcherLock( FALSE );
SwitchToDocument();
+ ScTabViewShell* pTabViewShell = pViewData->GetViewShell();
+ pTabViewShell->SetDialogDPObject(xDlgDPObject.get());
+
// #95513# don't hide the dialog before executing the slot, instead it is used as
// parent for message boxes in ScTabViewShell::GetDialogParent
More information about the Libreoffice-commits
mailing list