From 0265bdb92e5dbb5ba851a3d89eb8722bdaf081be Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 1 Jun 2017 16:47:00 +0200 Subject: convert GRFILTER constants to ERRCODE_GRFILTER_ since various code mixes these constants in with ErrCode values from other code, let us just make it into real ErrCode values. Change-Id: Ifa3d0f7526172609a44e6749bed9f730ab6b1a95 Reviewed-on: https://gerrit.libreoffice.org/38313 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svgio/source/svgreader/svgimagenode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svgio') diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index 298f5e50fe41..49fd8e79aed2 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -219,7 +219,7 @@ namespace svgio SvMemoryStream aStream(aPass.getArray(), aPass.getLength(), StreamMode::READ); Graphic aGraphic; - if(GRFILTER_OK == GraphicFilter::GetGraphicFilter().ImportGraphic( + if(ERRCODE_NONE == GraphicFilter::GetGraphicFilter().ImportGraphic( aGraphic, OUString(), aStream)) @@ -246,7 +246,7 @@ namespace svgio SvFileStream aStream(aAbsUrl, StreamMode::STD_READ); Graphic aGraphic; - if(GRFILTER_OK == GraphicFilter::GetGraphicFilter().ImportGraphic( + if(ERRCODE_NONE == GraphicFilter::GetGraphicFilter().ImportGraphic( aGraphic, aAbsUrl, aStream)) -- cgit