summaryrefslogtreecommitdiff
path: root/vcl/workben/svptest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r--vcl/workben/svptest.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index 525ccbbdc6b8..544f246a030b 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -267,16 +267,10 @@ void MyWin::Paint( const Rectangle& rRect )
const int nFontSamples = (nFontCount<15) ? nFontCount : 15;
for( int i = 0; i < nFontSamples; ++i )
{
-#if 0
- Font aFont( GetFont() );
- aFont.SetName( String( RTL_CONSTASCII_USTRINGPARAM( "Courier" ) ) );
- aFont.SetWeight( WEIGHT_NORMAL );
- aFont.SetItalic( ITALIC_NONE );
-#else
+
FontInfo aFont = GetDevFont( (i*nFontCount) / nFontSamples );
aFont.SetHeight( 400 + (i%7) * 100 );
aFont.SetOrientation( i * (3600 / nFontSamples) );
-#endif
SetFont( aFont );
sal_uInt8 nRed = (i << 6) & 0xC0;