diff options
Diffstat (limited to 'include/svtools/soerr.hxx')
-rw-r--r-- | include/svtools/soerr.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/svtools/soerr.hxx b/include/svtools/soerr.hxx index dfc1b88f3ed8..380efe1d0a2b 100644 --- a/include/svtools/soerr.hxx +++ b/include/svtools/soerr.hxx @@ -20,10 +20,12 @@ #define INCLUDED_SVTOOLS_SOERR_HXX #include <vcl/errcode.hxx> +#ifndef __RSC +#include <svtools/ehdl.hxx> +#include <svtools/svtdllapi.h> +#endif // error codes -#define RID_SO_ERROR_HANDLER 32000 - #define SO_ERR(x) ErrCode(ERRCODE_AREA_SO | ERRCODE_CLASS_SO | x) #define SO_WRN(x) ErrCode(ERRCODE_AREA_SO | ERRCODE_CLASS_SO | ERRCODE_WARNING_MASK | x) @@ -35,10 +37,12 @@ #define ERRCODE_SO_NOTIMPL SO_ERR(33) // error contexts -#define RID_SO_ERRCTX 32001 - #define ERRCTX_SO_DOVERB 1 +#ifndef __RSC +SVT_DLLPUBLIC const ErrMsgCode* getRID_SO_ERROR_HANDLER(); +SVT_DLLPUBLIC const ErrMsgCode* getRID_SO_ERRCTX(); +#endif #endif |