diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-26 09:12:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-26 09:19:22 +0000 |
commit | 068edb65b1dce375223d8642a01b07db3948ac03 (patch) | |
tree | 47db8ec8ba4991bc0fbaee325fcbb3d455c20d1c | |
parent | aee1d799bebe6a492fbc54fec96270e441ccbc64 (diff) |
Resolves: tdf#104153 crash on drag and drop pivot table field
now though sometimes it doesn't get removed at all, so a band aid
for the moment
Change-Id: I6ccbbe51fe9250af0f85c30a9d253269a18df457
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx index 3795601cde5a..6f2425c926dd 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx @@ -59,7 +59,7 @@ void ScPivotLayoutTreeListLabel::FillLabelFields(ScDPLabelDataVector& rLabelVect void ScPivotLayoutTreeListLabel::InsertEntryForSourceTarget(SvTreeListEntry* /*pSource*/, SvTreeListEntry* /*pTarget*/) { - if(mpParent->mpPreviouslyFocusedListBox.get() != this) + if (mpParent->mpPreviouslyFocusedListBox && mpParent->mpPreviouslyFocusedListBox.get() != this) mpParent->mpPreviouslyFocusedListBox->RemoveSelection(); } |