Kaydet (Commit) 148cde5f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Winconsistent-missing-override

(loplugin:saloverride does not warn about them because they depend on template args)

Change-Id: I41a1dbfd7db24e58154f6f3810781219119418ba
üst 6f46cf4f
...@@ -81,7 +81,7 @@ namespace dbp ...@@ -81,7 +81,7 @@ namespace dbp
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE; virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
// OPropertyArrayUsageHelper // OPropertyArrayUsageHelper
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const; virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE;
protected: protected:
// OGenericUnoDialog overridables // OGenericUnoDialog overridables
......
...@@ -219,42 +219,42 @@ namespace canvas ...@@ -219,42 +219,42 @@ namespace canvas
} }
// Sprite // Sprite
virtual bool isAreaUpdateOpaque( const ::basegfx::B2DRange& rUpdateArea ) const virtual bool isAreaUpdateOpaque( const ::basegfx::B2DRange& rUpdateArea ) const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.isAreaUpdateOpaque( rUpdateArea ); return maSpriteHelper.isAreaUpdateOpaque( rUpdateArea );
} }
virtual bool isContentChanged() const virtual bool isContentChanged() const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return BaseType::mbSurfaceDirty; return BaseType::mbSurfaceDirty;
} }
virtual ::basegfx::B2DPoint getPosPixel() const virtual ::basegfx::B2DPoint getPosPixel() const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getPosPixel(); return maSpriteHelper.getPosPixel();
} }
virtual ::basegfx::B2DVector getSizePixel() const virtual ::basegfx::B2DVector getSizePixel() const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getSizePixel(); return maSpriteHelper.getSizePixel();
} }
virtual ::basegfx::B2DRange getUpdateArea() const virtual ::basegfx::B2DRange getUpdateArea() const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getUpdateArea(); return maSpriteHelper.getUpdateArea();
} }
virtual double getPriority() const virtual double getPriority() const SAL_OVERRIDE
{ {
typename BaseType::MutexType aGuard( BaseType::m_aMutex ); typename BaseType::MutexType aGuard( BaseType::m_aMutex );
......
...@@ -142,7 +142,7 @@ namespace canvas ...@@ -142,7 +142,7 @@ namespace canvas
} }
// SpriteSurface // SpriteSurface
virtual void showSprite( const Sprite::Reference& rSprite ) virtual void showSprite( const Sprite::Reference& rSprite ) SAL_OVERRIDE
{ {
OSL_ASSERT( rSprite.is() ); OSL_ASSERT( rSprite.is() );
...@@ -151,7 +151,7 @@ namespace canvas ...@@ -151,7 +151,7 @@ namespace canvas
maRedrawManager.showSprite( rSprite ); maRedrawManager.showSprite( rSprite );
} }
virtual void hideSprite( const Sprite::Reference& rSprite ) virtual void hideSprite( const Sprite::Reference& rSprite ) SAL_OVERRIDE
{ {
OSL_ASSERT( rSprite.is() ); OSL_ASSERT( rSprite.is() );
...@@ -163,7 +163,7 @@ namespace canvas ...@@ -163,7 +163,7 @@ namespace canvas
virtual void moveSprite( const Sprite::Reference& rSprite, virtual void moveSprite( const Sprite::Reference& rSprite,
const ::basegfx::B2DPoint& rOldPos, const ::basegfx::B2DPoint& rOldPos,
const ::basegfx::B2DPoint& rNewPos, const ::basegfx::B2DPoint& rNewPos,
const ::basegfx::B2DVector& rSpriteSize ) const ::basegfx::B2DVector& rSpriteSize ) SAL_OVERRIDE
{ {
OSL_ASSERT( rSprite.is() ); OSL_ASSERT( rSprite.is() );
...@@ -174,7 +174,7 @@ namespace canvas ...@@ -174,7 +174,7 @@ namespace canvas
virtual void updateSprite( const Sprite::Reference& rSprite, virtual void updateSprite( const Sprite::Reference& rSprite,
const ::basegfx::B2DPoint& rPos, const ::basegfx::B2DPoint& rPos,
const ::basegfx::B2DRange& rUpdateArea ) const ::basegfx::B2DRange& rUpdateArea ) SAL_OVERRIDE
{ {
OSL_ASSERT( rSprite.is() ); OSL_ASSERT( rSprite.is() );
......
...@@ -72,7 +72,7 @@ namespace toolkit ...@@ -72,7 +72,7 @@ namespace toolkit
DECL_LINK( ScrollBarHdl, ScrollBar* ); DECL_LINK( ScrollBarHdl, ScrollBar* );
virtual void ResetScrollBars(); virtual void ResetScrollBars();
// Window // Window
virtual void Resize(); virtual void Resize() SAL_OVERRIDE;
}; };
} // namespacetoolkit } // namespacetoolkit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment