diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-12 09:58:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-12 11:43:50 +0000 |
commit | 7e16ec0347453851ef2f8870cfcf9fdbbc6bb99f (patch) | |
tree | 5fd7403648ffd286ca5c1cb716d042a6c87d04de /vcl | |
parent | e939c272a092546de0793523146e80f7d032d5dd (diff) |
pointless comparison
Diffstat (limited to 'vcl')
-rwxr-xr-x | vcl/source/gdi/outdev3.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index ac507afc9967..768f1e82d19d 100755 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -1674,10 +1674,7 @@ ImplDevFontListData* ImplDevFontList::ImplFindByLocale( com::sun::star::lang::Lo // get the default font for a specified locale const DefaultFontConfiguration& rDefaults = DefaultFontConfiguration::get(); const String aDefault = rDefaults.getUserInterfaceFont( rLocale ); - ImplDevFontListData* pFontData = ImplFindByTokenNames( aDefault ); - if( pFontData ) - return pFontData; - return NULL; + return ImplFindByTokenNames( aDefault ); } // ----------------------------------------------------------------------- |