[Libreoffice-commits] core.git: vcl/source
Thomas Arnhold
thomas at arnhold.org
Sun May 19 00:08:30 PDT 2013
vcl/source/gdi/outdev3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 754fee5d1b6adcc04b58a834c84568585afd728a
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Sun May 19 09:08:07 2013 +0200
don't check the same twice
Change-Id: Ic97f8066e88d7e05abd20d4978533ab91dd7c1ed
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 5274634..6a0bbc2 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
More information about the Libreoffice-commits
mailing list