summaryrefslogtreecommitdiff
path: root/vcl/workben/vcldemo.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-02 16:45:44 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-02 16:54:18 +0300
commit50bf123ddbeb457b89636621a99c971834adf3ab (patch)
treeb7782261998ca0b6bece98543e2c66e3c96f4d3c /vcl/workben/vcldemo.cxx
parentdb1c9e4dadc90c5afe3190776a60cc5dcbbce3ac (diff)
Kill superfluous vertical whitespace
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
Diffstat (limited to 'vcl/workben/vcldemo.cxx')
-rw-r--r--vcl/workben/vcldemo.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index c8cd734e7732..80c5d66f0993 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sal/main.h>
#include <tools/extendapplicationenvironment.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -40,7 +39,6 @@ using namespace ::com::sun::star::lang;
// Forward declaration
void Main();
-
SAL_IMPLEMENT_MAIN()
{
tools::extendApplicationEnvironment();
@@ -57,7 +55,6 @@ SAL_IMPLEMENT_MAIN()
return 0;
}
-
class MyWin : public WorkWindow
{
public:
@@ -72,7 +69,6 @@ public:
void Resize();
};
-
void Main()
{
MyWin aMainWin( NULL, WB_APP | WB_STDWORK );
@@ -82,19 +78,16 @@ void Main()
Application::Execute();
}
-
MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
WorkWindow( pParent, nWinStyle )
{
}
-
void MyWin::MouseMove( const MouseEvent& rMEvt )
{
WorkWindow::MouseMove( rMEvt );
}
-
void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
{
Rectangle aRect(0,0,4,4);
@@ -103,25 +96,21 @@ void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
DrawRect( aRect );
}
-
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 );
}
-
void MyWin::Paint( const Rectangle& rRect )
{
fprintf(stderr, "MyWin::Paint(%ld,%ld,%ld,%ld)\n", rRect.getX(), rRect.getY(), rRect.getWidth(), rRect.getHeight());
@@ -146,7 +135,6 @@ void MyWin::Paint( const Rectangle& rRect )
DrawText( Point( 20, 30 ), OUString( "Just a simple test text" ) );
}
-
void MyWin::Resize()
{
WorkWindow::Resize();