[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 14 20:32:47 UTC 2019
sw/source/uibase/docvw/edtwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e2824abd73d97b3f043ef84f06244740762da753
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Oct 14 17:42:27 2019 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Oct 14 22:32:01 2019 +0200
tdf#128139: add missing nullptr check
Regression after ef2ec07b4113fdadf863352c832af657b5ae205c
Change-Id: I5eed95e8136a812813145283e6b533a808324380
Reviewed-on: https://gerrit.libreoffice.org/80782
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
(cherry picked from commit 8a69d0212fa7e3f7f8f2ccf29f9393b9414282a2)
Reviewed-on: https://gerrit.libreoffice.org/80796
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 9af4c7a15541..de6743698049 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2697,7 +2697,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
if (bNormalChar)
{
const bool bAutoTextShown
- = pACfg->IsAutoTextTip() && ShowAutoText(rSh.GetChunkForAutoText());
+ = pACfg && pACfg->IsAutoTextTip() && ShowAutoText(rSh.GetChunkForAutoText());
if (!bAutoTextShown && pACorr && pACorr->GetSwFlags().bAutoCompleteWords)
ShowAutoCorrectQuickHelp(rSh.GetPrevAutoCorrWord(*pACorr), *pACorr);
}
More information about the Libreoffice-commits
mailing list