This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new b5926b45ec Avoid comparison between pointer and integer
b5926b45ec is described below

commit b5926b45ec8a3382030a435ce706fee3bcb5a5d1
Author: Ariel Constenla-Haile <arie...@apache.org>
AuthorDate: Sun Oct 27 03:43:35 2019 -0300

    Avoid comparison between pointer and integer
    
    (cherry picked from commit 958717d596e223826fa78462155b4447d227e5d3)
    (cherry picked from commit 8cf8c6262e36b56aba7183e7b36fa5fd14dcee92)
---
 main/vcl/unx/headless/svptext.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/vcl/unx/headless/svptext.cxx 
b/main/vcl/unx/headless/svptext.cxx
index 21e5546df6..e58b65f327 100644
--- a/main/vcl/unx/headless/svptext.cxx
+++ b/main/vcl/unx/headless/svptext.cxx
@@ -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" ); 

Reply via email to