Redundant check
Change-Id: Ifc53652e4ad4e4a0505480ab155e0352aedc9b26
This commit is contained in:
@@ -755,7 +755,7 @@ bool PhysicalFontFace::IsBetterMatch( const FontSelectPattern& rFSD, FontMatchSt
|
|||||||
int nMatch = 0;
|
int nMatch = 0;
|
||||||
|
|
||||||
const OUString& rFontName = rFSD.maTargetName;
|
const OUString& rFontName = rFSD.maTargetName;
|
||||||
if( rFontName == GetFamilyName() || rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
|
if( rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
|
||||||
nMatch += 240000;
|
nMatch += 240000;
|
||||||
|
|
||||||
if( rStatus.mpTargetStyleName
|
if( rStatus.mpTargetStyleName
|
||||||
|
Reference in New Issue
Block a user