summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-10-07 12:10:26 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-10-07 12:10:26 +0200
commit1cb5b24a472c75bcabe63fb01c6a98222a98a1d1 (patch)
treee8f6fe860a898e7ca9c38663f5f9e1fb60f222e6
parent1ca26e75ebb77c46a329be331ab82a3ae1759486 (diff)
error: comparison between pointer and integer
Change-Id: Id8a4bb17bb742524012d44abdb6c24b8fe739329
-rw-r--r--vcl/headless/svptext.cxx2
1 files changed, 1 insertions, 1 deletions
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" );