diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-14 13:34:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-14 15:42:31 +0200 |
commit | a6aa57ff591fdf3d834a7e0b1e9e2ebad1d87c5c (patch) | |
tree | 3de1d4767963fd78bcf6f8a90a4e2467e3a2acc5 /sw/source/filter/ascii | |
parent | 546c35519125a769755330c961c7b8fc61e24d89 (diff) |
use ERRCODE_NONE instead of 0
peeling off a small chunk of my ErrCode strong_int conversion
Change-Id: Idc89e8496083beed7608cba705cd981139eb7111
Reviewed-on: https://gerrit.libreoffice.org/38777
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 | ||||
-rw-r--r-- | sw/source/filter/ascii/wrtasc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index a82ca4344848..0fbf8800c1b7 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -491,7 +491,7 @@ sal_uLong SwASCIIParser::ReadChars() rtl_destroyTextToUnicodeContext( hConverter, hContext ); rtl_destroyTextToUnicodeConverter( hConverter ); } - return 0; + return ERRCODE_NONE; } void SwASCIIParser::InsertText( const OUString& rStr ) diff --git a/sw/source/filter/ascii/wrtasc.cxx b/sw/source/filter/ascii/wrtasc.cxx index 3399572a9184..00ed3e928fbd 100644 --- a/sw/source/filter/ascii/wrtasc.cxx +++ b/sw/source/filter/ascii/wrtasc.cxx @@ -189,7 +189,7 @@ sal_uLong SwASCWriter::WriteStream() if( bShowProgress ) ::EndProgress( pDoc->GetDocShell() ); - return 0; + return ERRCODE_NONE; } void GetASCWriter( const OUString& rFltNm, const OUString& /*rBaseURL*/, WriterRef& xRet ) |