diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-01 02:49:59 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-12-01 08:01:46 +0100 |
commit | 7ede454ecf9650a4d023e5eccd397f0991061df3 (patch) | |
tree | f27b61de2b777260daf88e2f5d2fea99dbac4e2e | |
parent | 9eb40f6ab2cd7798a9e9b61cfd6e5b65517123ac (diff) |
For external data sources this variable can be null, fdo#83534
Change-Id: I8c47cf078b4772fcdba0993880740c22114f1b45
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutDialog.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutDialog.cxx b/sc/source/ui/dbgui/PivotLayoutDialog.cxx index 1d572b8b1505..3d3a1910224e 100644 --- a/sc/source/ui/dbgui/PivotLayoutDialog.cxx +++ b/sc/source/ui/dbgui/PivotLayoutDialog.cxx @@ -387,6 +387,9 @@ void ScPivotLayoutDialog::ItemInserted(ScItemValue* pItemValue, ScPivotLayoutTre void ScPivotLayoutDialog::UpdateSourceRange() { + if (!maPivotTableObject.GetSheetDesc()) + return; + ScSheetSourceDesc aSourceSheet = *maPivotTableObject.GetSheetDesc(); if (mpSourceRadioNamedRange->IsChecked()) |