diff options
Diffstat (limited to 'include/svtools/ehdl.hxx')
-rw-r--r-- | include/svtools/ehdl.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx index d67f094f818e..78bcf1723dfe 100644 --- a/include/svtools/ehdl.hxx +++ b/include/svtools/ehdl.hxx @@ -23,6 +23,8 @@ #include <svtools/svtresid.hxx> #include <vcl/errinf.hxx> +#include <unordered_map> + typedef std::pair<TranslateId, ErrCode> ErrMsgCode; SVT_DLLPUBLIC extern const ErrMsgCode RID_ERRHDL[]; SVT_DLLPUBLIC extern const ErrMsgCode RID_ERRCTX[]; @@ -40,11 +42,14 @@ public: const ErrMsgCode* pIds = nullptr, const std::locale& rResLocaleP = SvtResLocale()); bool GetString(ErrCode nErrId, OUString &rStr) override; + void SetExtendedMessage(ErrCode nErrId, const OUString& rStr); + private: sal_uInt16 nCtxId; const ErrMsgCode* pIds; std::locale aResLocale; OUString aArg1; + std::unordered_map<sal_uInt32, OUString> m_extMessages; }; class SVT_DLLPUBLIC SfxErrorHandler : private ErrorHandler |