diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-18 16:52:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-18 16:52:27 +0100 |
commit | 849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch) | |
tree | 7d2c662f43a00f3bc04a0d51c685544074538a5c /vcl/workben | |
parent | Mark many more files as EXCEPTIONFILES. (diff) | |
download | core-849a713ffd29a58ae79e48f80835c28bbd9d5a72.tar.gz core-849a713ffd29a58ae79e48f80835c28bbd9d5a72.zip |
remove non-compiled code
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svptest.cxx | 8 |
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; |