summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2016-10-14 21:05:45 +0000
committerTamás Zolnai <tamas.zolnai@collabora.com>2016-10-15 14:44:00 +0000
commit7125de1cdb4d29cc3763147571808033ee207777 (patch)
treeb89b65dc72cc4af712d21a9f6d261dc9f3d9602d /sc
parent6520c8f2f3271c2f36429084a6b0f737f2ad4b88 (diff)
PivotTable: No reason to call GetSource here
GetSource generates internal members related to source data, but when this constructor is called we don't have valid source data yet. Change-Id: Ia813740fc425d70e7b294fca287f7afe784201a5
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 834c3d6931f9..102c020fbddb 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -1385,7 +1385,6 @@ ScDataPilotDescriptor::ScDataPilotDescriptor(ScDocShell* pDocSh) :
mpDPObject->SetSaveData(aSaveData);
ScSheetSourceDesc aSheetDesc(pDocSh ? &pDocSh->GetDocument() : nullptr);
mpDPObject->SetSheetDesc(aSheetDesc);
- mpDPObject->GetSource();
}
ScDataPilotDescriptor::~ScDataPilotDescriptor()