summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-05-19 09:08:07 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-05-19 09:08:07 +0200
commit754fee5d1b6adcc04b58a834c84568585afd728a (patch)
treee8e89ee86027984eb03db6d2ccdbcdc86dc7342d /vcl/source
parent3384f229a4a3812f57bd8864e9c916e6443a4899 (diff)
don't check the same twice
Change-Id: Ic97f8066e88d7e05abd20d4978533ab91dd7c1ed
Diffstat (limited to 'vcl/source')
-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 5274634d649d..6a0bbc2baa23 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 == GetFamilyName() )
+ if( rFontName == GetFamilyName() )
nMatch += 240000;
if( rStatus.mpTargetStyleName