summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-21 17:16:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-21 17:17:01 +0200
commit7131fe8dd10a5b3b4e501e3379a95320313382db (patch)
tree0d2bbbc5dbba4c2e06a340646bbf8eefbe0f0082 /vcl
parent355180f3e574b069fcd68df08f4909521fa7e6a0 (diff)
Redundant check
Change-Id: Ifc53652e4ad4e4a0505480ab155e0352aedc9b26
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 87dfec7f1aa3..426178732bd3 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -755,7 +755,7 @@ bool PhysicalFontFace::IsBetterMatch( const FontSelectPattern& rFSD, FontMatchSt
int nMatch = 0;
const OUString& rFontName = rFSD.maTargetName;
- if( rFontName == GetFamilyName() || rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
+ if( rFontName.equalsIgnoreAsciiCase( GetFamilyName() ) )
nMatch += 240000;
if( rStatus.mpTargetStyleName