summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:52:05 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:52:27 +0100
commit849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch)
tree7d2c662f43a00f3bc04a0d51c685544074538a5c /vcl/workben
parentf7cbde525450a1a9427873c264791c65056c4f2a (diff)
remove non-compiled code
Diffstat (limited to 'vcl/workben')
-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;