Skip to content

Commit

Permalink
Avoid comparison between pointer and integer
Browse files Browse the repository at this point in the history
(cherry picked from commit 958717d)
  • Loading branch information
arielch committed Oct 31, 2019
1 parent b5ef616 commit 8cf8c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/vcl/unx/headless/svptext.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void SvpGlyphPeer::RemovingFont( ServerFont& )

void SvpGlyphPeer::RemovingGlyph( ServerFont&, GlyphData& rGlyphData, sal_GlyphId /*aGlyphId*/ )
{
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" );
Expand Down

0 comments on commit 8cf8c62

Please sign in to comment.