[Libreoffice-commits] core.git: sw/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 14 18:53:21 UTC 2019
sw/source/uibase/docvw/edtwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8a69d0212fa7e3f7f8f2ccf29f9393b9414282a2
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 20:52:14 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>
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 3d2c12c0a0e1..fa1e8681fe10 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2668,7 +2668,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