diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-08-27 13:07:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-27 21:24:16 +0200 |
commit | ae8e1ad2e322cfa9522f793edc961203e28c1f22 (patch) | |
tree | e04c03d53101a78810511f509c81bc1cb186795b /sw/source/filter/ascii | |
parent | d96b243c5d363f66e574fe68879e59244c338c22 (diff) |
convert code-class in ErrCode to scoped enum
Change-Id: I9aa8703921308d6fee8bae9ee2d7b29e19181cc7
Reviewed-on: https://gerrit.libreoffice.org/41601
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r-- | sw/source/filter/ascii/parasc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index 3846182a7034..40784ad9a7bc 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -284,7 +284,7 @@ ErrCode SwASCIIParser::ReadChars() hConverter = rtl_createTextToUnicodeConverter( currentCharSet ); OSL_ENSURE( hConverter, "no string convert available" ); if (!hConverter) - return ErrCode(ErrCodeArea::Sw, ERRCODE_CLASS_READ); + return ErrCode(ErrCodeArea::Sw, ErrCodeClass::Read, 0); bSwapUnicode = false; hContext = rtl_createTextToUnicodeContext( hConverter ); } |