diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 15:02:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-06 08:15:57 +0200 |
commit | de8caac6bee3237ba634e7dce2e4635dc8bba57b (patch) | |
tree | 9260fb99b4f6de1619df46a11aa388ad8d42db63 /dbaccess | |
parent | 690f2f5c4633780734a63305fd16733fb1344c74 (diff) |
replace SVSTREAM_OK with ERRCODE_NONE
since the first is #define'd to the second, and offers no extra value
Change-Id: I2c67e09ea3aa5361b8e7dfe7a20858c6ae054450
Reviewed-on: https://gerrit.libreoffice.org/38406
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index c55f6b46e4e3..04bce2e1f210 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -509,7 +509,7 @@ bool ORTFImportExport::Write() m_pStream->WriteChar( '}' ).WriteCharPtr( SAL_NEWLINE_STRING ); m_pStream->WriteUChar( 0 ); - return ((*m_pStream).GetError() == SVSTREAM_OK); + return ((*m_pStream).GetError() == ERRCODE_NONE); } void ORTFImportExport::appendRow(OString* pHorzChar,sal_Int32 _nColumnCount,sal_Int32& k,sal_Int32& kk) @@ -640,7 +640,7 @@ bool OHTMLImportExport::Write() OUT_LF(); TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_html ); - return ((*m_pStream).GetError() == SVSTREAM_OK); + return ((*m_pStream).GetError() == ERRCODE_NONE); } return false; } |