From 3e5ff1f8d4da3470fa4016264c9410834a9736d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 17 Jan 2014 16:58:33 +0100 Subject: Be explicit when using bool as integral value (as Link return value) Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726 --- vcl/source/filter/graphicfilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source') diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index e19f54f28e75..8188132bce0c 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -2149,7 +2149,7 @@ const Link GraphicFilter::GetFilterCallback() const IMPL_LINK( GraphicFilter, FilterCallback, ConvertData*, pData ) { - long nRet = 0L; + bool nRet = false; if( pData ) { @@ -2187,7 +2187,7 @@ IMPL_LINK( GraphicFilter, FilterCallback, ConvertData*, pData ) } #endif } - return nRet; + return long(nRet); } namespace -- cgit