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 /svl | |
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 'svl')
-rw-r--r-- | svl/source/items/macitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index dbf279c6a458..627daa9330dd 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -148,7 +148,7 @@ SvStream& SvxMacroTableDtor::Write( SvStream& rStream ) const rStream.WriteUInt16( aSvxMacroTable.size() ); SvxMacroTable::const_iterator it = aSvxMacroTable.begin(); - while( it != aSvxMacroTable.end() && rStream.GetError() == SVSTREAM_OK ) + while( it != aSvxMacroTable.end() && rStream.GetError() == ERRCODE_NONE ) { const SvxMacro& rMac = it->second; rStream.WriteUInt16( it->first ); |