diff options
Diffstat (limited to 'vcl/workben/svptest.cxx')
-rw-r--r-- | vcl/workben/svptest.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index e5c677375c93..0078e7bbfc45 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -41,11 +41,9 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; - // Forward declaration void Main(); - SAL_IMPLEMENT_MAIN() { tools::extendApplicationEnvironment(); @@ -62,7 +60,6 @@ SAL_IMPLEMENT_MAIN() return 0; } - class MyWin : public WorkWindow { Bitmap m_aBitmap; @@ -78,7 +75,6 @@ public: void Resize(); }; - void Main() { MyWin aMainWin( NULL, WB_APP | WB_STDWORK ); @@ -88,7 +84,6 @@ void Main() Application::Execute(); } - MyWin::MyWin( Window* pParent, WinBits nWinStyle ) : WorkWindow( pParent, nWinStyle ), m_aBitmap( Size( 256, 256 ), 32 ) @@ -114,37 +109,31 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) : m_aBitmap.ReleaseAccess( pAcc ); } - void MyWin::MouseMove( const MouseEvent& rMEvt ) { WorkWindow::MouseMove( rMEvt ); } - void MyWin::MouseButtonDown( const MouseEvent& rMEvt ) { WorkWindow::MouseButtonDown( rMEvt ); } - void MyWin::MouseButtonUp( const MouseEvent& rMEvt ) { WorkWindow::MouseButtonUp( rMEvt ); } - void MyWin::KeyInput( const KeyEvent& rKEvt ) { WorkWindow::KeyInput( rKEvt ); } - void MyWin::KeyUp( const KeyEvent& rKEvt ) { WorkWindow::KeyUp( rKEvt ); } - static Point project( const Point& rPoint ) { const double angle_x = M_PI / 6.0; @@ -306,8 +295,6 @@ void MyWin::Paint( const Rectangle& rRect ) Size( aPaperSize.Width() - 2000, 500 ) ), aGradient ); - - LineInfo aLineInfo( LINE_SOLID, 200 ); double sind = sin( DELTA*M_PI/180.0 ); double cosd = cos( DELTA*M_PI/180.0 ); @@ -345,7 +332,6 @@ void MyWin::Paint( const Rectangle& rRect ) Pop(); } - void MyWin::Resize() { WorkWindow::Resize(); |