diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-01 02:49:59 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-12-01 07:37:06 +0100 |
commit | f1cdad3253730c593953b91279d17c8a4590fed9 (patch) | |
tree | e3e2ab6d7f14b350334004793c429f3f29440a15 | |
parent | 8eeb02dcc1a4bc99b083b1a591b4a70003a1604f (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()) |