--- a/src/af/xap/xp/xap_Dialog.cpp 2021-07-03 17:46:07.000000000 +0200 +++ b/src/af/xap/xp/xap_Dialog.cpp 2022-06-20 16:04:36.961149873 +0200 @@ -36,8 +36,8 @@ XAP_Dialog::XAP_Dialog(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id, const char * helpUrl ) - : m_pApp ( NULL ), m_pDlgFactory ( pDlgFactory ), m_id ( id ), - m_helpUrl(NULL) + : m_pApp ( nullptr ), m_pDlgFactory ( pDlgFactory ), m_id ( id ), + m_helpUrl(nullptr) { m_pApp = pDlgFactory->getApp(); @@ -235,7 +235,7 @@ // This function returns the frame currently connected to a modeless dialog XAP_Frame * pFrame = m_pApp->getLastFocussedFrame(); - if(pFrame == (XAP_Frame *) NULL) + if(pFrame == (XAP_Frame *) nullptr) { pFrame = m_pApp->getFrame(0); } @@ -267,7 +267,7 @@ // This function constructs and returns the window name of a modeless dialog by // concatenating the active frame with the dialog name - *pWindowName = (char) NULL; + *pWindowName = '\0'; UT_UTF8String wn = UT_UTF8String(pDialogName); XAP_Frame* pFrame = getActiveFrame();