WaE: overriding virtual function declaration not marked 'SAL_OVERRIDE'
Change-Id: I00aaacadf108f2cc5d57963991e5c99ea4485056
This commit is contained in:
@@ -84,17 +84,17 @@ class MyWin : public WorkWindow
|
|||||||
ImageControl m_aImage;
|
ImageControl m_aImage;
|
||||||
PushButton m_aQuitButton;
|
PushButton m_aQuitButton;
|
||||||
public:
|
public:
|
||||||
MyWin( Window* pParent, WinBits nWinStyle );
|
MyWin( Window* pParent, WinBits nWinStyle );
|
||||||
|
|
||||||
void MouseMove( const MouseEvent& rMEvt );
|
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonDown( const MouseEvent& rMEvt );
|
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonUp( const MouseEvent& rMEvt );
|
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void KeyInput( const KeyEvent& rKEvt );
|
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void KeyUp( const KeyEvent& rKEvt );
|
virtual void KeyUp( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void Paint( const Rectangle& rRect );
|
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
|
||||||
void Resize();
|
virtual void Resize() SAL_OVERRIDE;
|
||||||
|
|
||||||
bool Close();
|
virtual bool Close() SAL_OVERRIDE;
|
||||||
|
|
||||||
void parseList( const OString& rList );
|
void parseList( const OString& rList );
|
||||||
OString processCommand( const OString& rCommand );
|
OString processCommand( const OString& rCommand );
|
||||||
|
@@ -69,15 +69,15 @@ class MyWin : public WorkWindow
|
|||||||
{
|
{
|
||||||
Bitmap m_aBitmap;
|
Bitmap m_aBitmap;
|
||||||
public:
|
public:
|
||||||
MyWin( Window* pParent, WinBits nWinStyle );
|
MyWin( Window* pParent, WinBits nWinStyle );
|
||||||
|
|
||||||
void MouseMove( const MouseEvent& rMEvt );
|
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonDown( const MouseEvent& rMEvt );
|
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonUp( const MouseEvent& rMEvt );
|
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void KeyInput( const KeyEvent& rKEvt );
|
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void KeyUp( const KeyEvent& rKEvt );
|
virtual void KeyUp( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void Paint( const Rectangle& rRect );
|
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
|
||||||
void Resize();
|
virtual void Resize() SAL_OVERRIDE;
|
||||||
};
|
};
|
||||||
|
|
||||||
void Main()
|
void Main()
|
||||||
|
@@ -63,15 +63,15 @@ SAL_IMPLEMENT_MAIN()
|
|||||||
class MyWin : public WorkWindow
|
class MyWin : public WorkWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MyWin( Window* pParent, WinBits nWinStyle );
|
MyWin( Window* pParent, WinBits nWinStyle );
|
||||||
|
|
||||||
void MouseMove( const MouseEvent& rMEvt );
|
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonDown( const MouseEvent& rMEvt );
|
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void MouseButtonUp( const MouseEvent& rMEvt );
|
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||||
void KeyInput( const KeyEvent& rKEvt );
|
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void KeyUp( const KeyEvent& rKEvt );
|
virtual void KeyUp( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||||
void Paint( const Rectangle& rRect );
|
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
|
||||||
void Resize();
|
virtual void Resize() SAL_OVERRIDE;
|
||||||
};
|
};
|
||||||
|
|
||||||
void Main()
|
void Main()
|
||||||
|
Reference in New Issue
Block a user