diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-10-14 17:42:27 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-10-14 20:52:14 +0200 |
commit | 8a69d0212fa7e3f7f8f2ccf29f9393b9414282a2 (patch) | |
tree | 8280e316e4237195c9dbc46d357ed45238fee9a9 /sw | |
parent | 5c921a617da29eeeedc6f78dd34263963efeeac0 (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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |