diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:58:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:14 +0100 |
commit | 3e5ff1f8d4da3470fa4016264c9410834a9736d8 (patch) | |
tree | 15f1dd6828469d083eb6ad2f96efc4a949e576b0 /vcl | |
parent | e7a99b3cde77be1604c2360d3e55b5247ad32cc0 (diff) |
Be explicit when using bool as integral value (as Link return value)
Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |