From 1cb5b24a472c75bcabe63fb01c6a98222a98a1d1 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 7 Oct 2014 12:10:26 +0200 Subject: error: comparison between pointer and integer Change-Id: Id8a4bb17bb742524012d44abdb6c24b8fe739329 --- vcl/headless/svptext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx index 2b657461036d..fb6b70b61fdf 100644 --- a/vcl/headless/svptext.cxx +++ b/vcl/headless/svptext.cxx @@ -172,7 +172,7 @@ void SvpGlyphPeer::RemovingFont( ServerFont& ) void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, int /*nGlyphIndex*/ ) { - if( rGlyphData.ExtDataRef().mpData != Format::NONE ) + if( rGlyphData.ExtDataRef().mpData != NULL ) { // release the glyph related resources DBG_ASSERT( (rGlyphData.ExtDataRef().meInfo <= Format::MAX), "SVP::RG() invalid alpha format" ); -- cgit v1.2.3