diff options
Diffstat (limited to 'sw/inc/error.hrc')
-rw-r--r-- | sw/inc/error.hrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/error.hrc b/sw/inc/error.hrc index 1e61b007cf98..e15abf9cacf4 100644 --- a/sw/inc/error.hrc +++ b/sw/inc/error.hrc @@ -22,7 +22,7 @@ #include "swerror.h" -#define NC_(Context, String) (Context "\004" u8##String) +#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #define ERR_CODE( class, err ) ErrCode(ErrCodeArea::Sw, class, err.GetCode()) #define WARN_CODE( class, err ) ErrCode(ErrCodeArea::Sw, class, err.GetCode()) |