Definition at line 115 of file errinf.hxx.
Handles an error.
If nFlags is not set, the DynamicErrorInfo flags or the resource flags will be used. Thus the order is:
- nFlags,
- Resource Flags
- Dynamic Flags
- Default ButtonsOk, MessageError
- Parameters
-
nErrCodeId | error id |
pParent | parent window the error dialog will be modal for. nullptr for unrecommended "pick default" |
nFlags | error flags. |
- Returns
- what sort of dialog to use, with what buttons
Definition at line 133 of file errinf.cxx.
References ErrorRegistry::bIsWindowDsp, ButtonDefaultsOk, ButtonsOk, ErrorRegistry::contexts, ErrorStringFactory::CreateString(), ERRCODE_ABORT, ERRCODE_NONE, DynamicErrorInfo::GetDialogMask(), ErrorInfo::GetErrorInfo(), ErrorContext::GetParent(), HandleError(), ErrCode::IsWarning(), ErrorRegistry::m_bLock, MAX, MessageError, MessageWarning, NONE, ErrorRegistry::pDsp, and SAL_WARN.
Referenced by HandleError().