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
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
// OPropertyArrayUsageHelper
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const SAL_OVERRIDE;
protected:
// OGenericUnoDialog overridables
......
......@@ -219,42 +219,42 @@ namespace canvas
}
// 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 );
return maSpriteHelper.isAreaUpdateOpaque( rUpdateArea );
}
virtual bool isContentChanged() const
virtual bool isContentChanged() const SAL_OVERRIDE
{
typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return BaseType::mbSurfaceDirty;
}
virtual ::basegfx::B2DPoint getPosPixel() const
virtual ::basegfx::B2DPoint getPosPixel() const SAL_OVERRIDE
{
typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getPosPixel();
}
virtual ::basegfx::B2DVector getSizePixel() const
virtual ::basegfx::B2DVector getSizePixel() const SAL_OVERRIDE
{
typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getSizePixel();
}
virtual ::basegfx::B2DRange getUpdateArea() const
virtual ::basegfx::B2DRange getUpdateArea() const SAL_OVERRIDE
{
typename BaseType::MutexType aGuard( BaseType::m_aMutex );
return maSpriteHelper.getUpdateArea();
}
virtual double getPriority() const
virtual double getPriority() const SAL_OVERRIDE
{
typename BaseType::MutexType aGuard( BaseType::m_aMutex );
......
......@@ -142,7 +142,7 @@ namespace canvas
}
// SpriteSurface
virtual void showSprite( const Sprite::Reference& rSprite )
virtual void showSprite( const Sprite::Reference& rSprite ) SAL_OVERRIDE
{
OSL_ASSERT( rSprite.is() );
......@@ -151,7 +151,7 @@ namespace canvas
maRedrawManager.showSprite( rSprite );
}
virtual void hideSprite( const Sprite::Reference& rSprite )
virtual void hideSprite( const Sprite::Reference& rSprite ) SAL_OVERRIDE
{
OSL_ASSERT( rSprite.is() );
......@@ -163,7 +163,7 @@ namespace canvas
virtual void moveSprite( const Sprite::Reference& rSprite,
const ::basegfx::B2DPoint& rOldPos,
const ::basegfx::B2DPoint& rNewPos,
const ::basegfx::B2DVector& rSpriteSize )
const ::basegfx::B2DVector& rSpriteSize ) SAL_OVERRIDE
{
OSL_ASSERT( rSprite.is() );
......@@ -174,7 +174,7 @@ namespace canvas
virtual void updateSprite( const Sprite::Reference& rSprite,
const ::basegfx::B2DPoint& rPos,
const ::basegfx::B2DRange& rUpdateArea )
const ::basegfx::B2DRange& rUpdateArea ) SAL_OVERRIDE
{
OSL_ASSERT( rSprite.is() );
......
......@@ -72,7 +72,7 @@ namespace toolkit
DECL_LINK( ScrollBarHdl, ScrollBar* );
virtual void ResetScrollBars();
// Window
virtual void Resize();
virtual void Resize() SAL_OVERRIDE;
};
} // 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