diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-05-19 09:08:07 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-05-19 09:08:07 +0200 |
commit | 754fee5d1b6adcc04b58a834c84568585afd728a (patch) | |
tree | e8e89ee86027984eb03db6d2ccdbcdc86dc7342d /vcl/source | |
parent | 3384f229a4a3812f57bd8864e9c916e6443a4899 (diff) |
don't check the same twice
Change-Id: Ic97f8066e88d7e05abd20d4978533ab91dd7c1ed
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 2 |
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 |