Kaydet (Commit) fcb23c79 authored tarafından Caolán McNamara's avatar Caolán McNamara

table of objects crashes on first update with object in document

Change-Id: Ia25a09060f16e5d286dff2bbc3facba5ac68cdc4
Reviewed-on: https://gerrit.libreoffice.org/45971Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 3df949ce
......@@ -303,8 +303,8 @@ ToxTextGenerator::HandleTextToken(const SwTOXSortTabBase& source, SwAttrPool& po
if( source.aTOXSources.empty() )
return result;
const SwTextNode* pSrc = source.aTOXSources.at(0).pNd->GetTextNode();
if (!pSrc->HasHints()) {
const SwTextNode* pSrc = source.aTOXSources.front().pNd->GetTextNode();
if (!pSrc || !pSrc->HasHints()) {
return result;
}
const SwpHints& hints = pSrc->GetSwpHints();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment