From a6aa57ff591fdf3d834a7e0b1e9e2ebad1d87c5c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Jun 2017 13:34:55 +0200 Subject: 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 Reviewed-by: Noel Grandin --- svtools/source/urlobj/inetimg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/urlobj/inetimg.cxx b/svtools/source/urlobj/inetimg.cxx index 0abae28c90dd..3ea57fbd45ce 100644 --- a/svtools/source/urlobj/inetimg.cxx +++ b/svtools/source/urlobj/inetimg.cxx @@ -124,7 +124,7 @@ bool INetImage::Read( SvStream& rIStm, SotClipboardFormatId nFormat ) else if( !aTargetURL.isEmpty() ) aTargetURL.clear(); - bRet = 0 == rIStm.GetError(); + bRet = ERRCODE_NONE == rIStm.GetError(); } break; default: break; -- cgit