|
LibreOffice Module svtools (master) 1
|
#include <ehdl.hxx>
Public Member Functions | |
| SfxErrorContext (sal_uInt16 nCtxIdP, weld::Window *pWin=nullptr, const ErrMsgCode *pIds=nullptr, const std::locale &rResLocaleP=SvtResLocale()) | |
| SfxErrorContext (sal_uInt16 nCtxIdP, OUString aArg1, weld::Window *pWin=nullptr, const ErrMsgCode *pIds=nullptr, const std::locale &rResLocaleP=SvtResLocale()) | |
| bool | GetString (ErrCode nErrId, OUString &rStr) override |
Private Attributes | |
| sal_uInt16 | nCtxId |
| const ErrMsgCode * | pIds |
| std::locale | aResLocale |
| OUString | aArg1 |
Additional Inherited Members | |
Private Member Functions inherited from ErrorContext | |
| ErrorContext (weld::Window *pWin) | |
| virtual | ~ErrorContext () |
| virtual bool | GetString (ErrCode nErrId, OUString &rCtxStr)=0 |
| weld::Window * | GetParent () |
Static Private Member Functions inherited from ErrorContext | |
| static ErrorContext * | GetContext () |
| SfxErrorContext::SfxErrorContext | ( | sal_uInt16 | nCtxIdP, |
| weld::Window * | pWin = nullptr, |
||
| const ErrMsgCode * | pIds = nullptr, |
||
| const std::locale & | rResLocaleP = SvtResLocale() |
||
| ) |
Definition at line 242 of file ehdl.cxx.
References pIds, and RID_ERRCTX.
| SfxErrorContext::SfxErrorContext | ( | sal_uInt16 | nCtxIdP, |
| OUString | aArg1, | ||
| weld::Window * | pWin = nullptr, |
||
| const ErrMsgCode * | pIds = nullptr, |
||
| const std::locale & | rResLocaleP = SvtResLocale() |
||
| ) |
Definition at line 251 of file ehdl.cxx.
References pIds, and RID_ERRCTX.
|
overridevirtual |
Implements ErrorContext.
Definition at line 261 of file ehdl.cxx.
References aArg1, aResLocale, ERRCTX_ERROR, ERRCTX_WARNING, Translate::get(), ErrCode::IsWarning(), nCtxId, nId, pIds, RID_ERRCTX, and SAL_WARN_IF.
|
private |
Definition at line 47 of file ehdl.hxx.
Referenced by GetString().
|
private |
Definition at line 46 of file ehdl.hxx.
Referenced by GetString().
|
private |
Definition at line 44 of file ehdl.hxx.
Referenced by GetString().
|
private |
Definition at line 45 of file ehdl.hxx.
Referenced by GetString(), and SfxErrorContext().