sc/source/ui/dbgui/PivotLayoutDialog.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 21de464632e653562f7a24f2a7285479fcfb0c7a
Author: Markus Mohrhard <markus.mohrh...@collabora.co.uk>
Date:   Mon Dec 1 02:49:59 2014 +0100

    For external data sources this variable can be null, fdo#83534
    
    Change-Id: I8c47cf078b4772fcdba0993880740c22114f1b45
    Reviewed-on: https://gerrit.libreoffice.org/13238
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/ui/dbgui/PivotLayoutDialog.cxx 
b/sc/source/ui/dbgui/PivotLayoutDialog.cxx
index dd9ca8a..67e1907 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())
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to