https://bugs.documentfoundation.org/show_bug.cgi?id=97374
--- Comment #14 from Rosemary Sebastian <rosemarys...@gmail.com> --- (In reply to Oliver Specht from comment #12) > The only way for me to crash was to open a Writer document before which > makes SfxViewShell::Current() return a Writer view shell which ends in an > access to a (SdDrawDocument* pDoc == nullptr > > Prio to > commit 2970ec843820a72d73a91cc11fc353e5b9fde5fd > Author: Noel Grandin <noelgran...@gmail.com> > Date: Sun Jul 12 21:13:57 2015 +0200 > > editeng: make Link<> usage typed > > Change-Id: Iec36c7e4f4fbc2ee2ee25d4d0c8488340ba7d8c4 > Reviewed-on: https://gerrit.libreoffice.org/16968 > Tested-by: Jenkins <c...@libreoffice.org> > Reviewed-by: Noel Grandin <noelgran...@gmail.com> > The crashing line was: > > - DocumentType eDocType = pDoc ? pDoc->GetDocumentType() : > DOCUMENT_TYPE_IMPRESS; > - aRepresentation = ( ( eDocType == DOCUMENT_TYPE_IMPRESS ) > > That suggests that pDoc can be a nullptr. > Fix is in https://gerrit.libreoffice.org/#/c/22006/ Thanks. Now I can open the file without crashing. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs