sw/source/core/access/accnotextframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b0ae5aaaafd236663f7e81af06a567ade8a2a745 Author: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> AuthorDate: Sun May 9 01:30:40 2021 +0200 Commit: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> CommitDate: Wed May 12 17:19:20 2021 +0200 tdf#141307: adapt null-check - if we check pNd for nullptr, we need to expect it to be nullptr - in that case we shouldnt use the pointer before the null check Change-Id: Ia9d11abe32fac10f36fdbfcefeadd51891f1834e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115264 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michael...@libreoffice.org> diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index 3dfed9ea3303..d8f37887b4a4 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -63,11 +63,11 @@ SwAccessibleNoTextFrame::SwAccessibleNoTextFrame( msDesc() { const SwNoTextNode* pNd = GetNoTextNode(); - StartListening(const_cast<SwNoTextNode*>(pNd)->GetNotifier()); // #i73249# // consider new attributes Title and Description if( pNd ) { + StartListening(const_cast<SwNoTextNode*>(pNd)->GetNotifier()); msTitle = pNd->GetTitle(); msDesc = pNd->GetDescription(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits