diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-06-03 22:55:18 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-06-03 22:55:45 +0200 |
commit | 2791ce4ee56120d7814dcb3b7c6d6925b9cd9abc (patch) | |
tree | fb68101b55ef87b955f7073d027285392cfb5449 /vcl | |
parent | 97afd6f9f68c91f0d41576e84f2bfcc176a25bd2 (diff) |
Variable only used once
Change-Id: I01c6681da8a0ac83eaafdf86a04a187f13a05792
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 565a56c02730..081104cce5fe 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -442,8 +442,6 @@ Font OutputDevice::GetDefaultFont( sal_uInt16 nType, LanguageType eLang, if( aDefault.Len() ) aSearch = aDefault; - int nDefaultHeight = 12; - Font aFont; aFont.SetPitch( PITCH_VARIABLE ); @@ -497,7 +495,7 @@ Font OutputDevice::GetDefaultFont( sal_uInt16 nType, LanguageType eLang, if ( aSearch.Len() ) { - aFont.SetHeight( nDefaultHeight ); + aFont.SetHeight( 12 ); // corresponds to nDefaultHeight aFont.SetWeight( WEIGHT_NORMAL ); aFont.SetLanguage( eLang ); |