[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Sun Oct 5 22:50:16 PDT 2014


 vcl/source/gdi/impfont.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0096426086e52b962ba53aed2132c2f4d0942aed
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Oct 6 08:44:33 2014 +0300

    WaE: implicit conversion of NULL constant to 'nullptr_t'
    
    Change-Id: I93b22ce863294312d323184afdfe46f5a448375e

diff --git a/vcl/source/gdi/impfont.cxx b/vcl/source/gdi/impfont.cxx
index e4e6fc8..1bd7dcd 100644
--- a/vcl/source/gdi/impfont.cxx
+++ b/vcl/source/gdi/impfont.cxx
@@ -563,7 +563,7 @@ int FontCharMap::CountCharsInRange( sal_UCS4 cMin, sal_UCS4 cMax ) const
 
 void FontCharMap::Reset( const ImplFontCharMapPtr pNewMap )
 {
-    if( pNewMap == NULL )
+    if( !pNewMap )
     {
         mpImplFontCharMap = ImplFontCharMap::GetDefaultMap();
     }


More information about the Libreoffice-commits mailing list