summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/impfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/impfont.cxx b/vcl/source/gdi/impfont.cxx
index e4e6fc809230..1bd7dcd0e4cb 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();
}