sd/source/ui/view/Outliner.cxx | 2 +- vcl/qa/afl-eventtesting/eventtesting.impress.crash-5 |binary 2 files changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0c39c456f47c14e2b7f86d1bc6857dc0e2ca6cb3 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Nov 5 21:15:14 2015 +0000 afl-eventesting: deref of null mpTextObj Change-Id: Icdb7d1cc250640f428984b96b0a51ac950013cb2 diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index c7f315a..8ae2950 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1384,7 +1384,7 @@ void Outliner::SetPage (EditMode eEditMode, sal_uInt16 nPageIndex) void Outliner::EnterEditMode (bool bGrabFocus) { OutlinerView* pOutlinerView = mpImpl->GetOutlinerView(); - if (pOutlinerView != NULL) + if (pOutlinerView && mpTextObj) { pOutlinerView->SetOutputArea( Rectangle( Point(), Size(1, 1))); SetPaperSize( mpTextObj->GetLogicRect().GetSize() ); diff --git a/vcl/qa/afl-eventtesting/eventtesting.impress.crash-5 b/vcl/qa/afl-eventtesting/eventtesting.impress.crash-5 new file mode 100644 index 0000000..0221754 Binary files /dev/null and b/vcl/qa/afl-eventtesting/eventtesting.impress.crash-5 differ
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits