diff options
-rw-r--r-- | editeng/source/editeng/editview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 17ecb94b9dd1..8f199b79ea89 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1223,7 +1223,7 @@ bool EditView::ExecuteSpellPopup(const Point& rPosPixel, const Link<SpellCallbac OUString aDicName; if (sId.toInt32() >= MN_DICTSTART) { - assert(pPopupParent && "this case only occurs when xInsertMenu exists"); + assert(xInsertMenu && "this case only occurs when xInsertMenu exists"); // strip_mnemonic is necessary to retrieve the correct dictionary name aDicName = pPopupParent->strip_mnemonic(xInsertMenu->get_label(sId)); } |