summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-10-14 17:42:27 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-10-14 22:32:01 +0200
commite2824abd73d97b3f043ef84f06244740762da753 (patch)
treee381b17a24362bae133090970b71afb8b65b778c
parentcb8c0ed38ac17f14f3fe9cb3f45c1100da5f0ee3 (diff)
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@collabora.com> (cherry picked from commit 8a69d0212fa7e3f7f8f2ccf29f9393b9414282a2) Reviewed-on: https://gerrit.libreoffice.org/80796 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}