loplugin:override

Change-Id: I7ef42d66a0ffbbd8f2754bd4aba0e77659c9ae83
This commit is contained in:
Tor Lillqvist
2016-12-12 09:00:49 +02:00
parent 22166c75ee
commit 3d17a40882

View File

@@ -15,7 +15,7 @@ class HeadlessSalInstance : public SvpSalInstance
public:
explicit HeadlessSalInstance( SalYieldMutex *pMutex );
virtual SalSystem* CreateSalSystem();
virtual SalSystem* CreateSalSystem() override;
};
HeadlessSalInstance::HeadlessSalInstance( SalYieldMutex *pMutex ) :
@@ -29,7 +29,7 @@ public:
virtual int ShowNativeDialog( const OUString& rTitle,
const OUString& rMessage,
const std::list< OUString >& rButtons,
int nDefButton )
int nDefButton ) override
{
(void)rButtons; (void)nDefButton;
::fprintf(stdout, "LibreOffice - dialog '%s': '%s'",
@@ -48,8 +48,8 @@ class HeadlessSalData : public SalGenericData
{
public:
explicit HeadlessSalData( SalInstance *pInstance ) : SalGenericData( SAL_DATA_HEADLESS, pInstance ) {}
virtual void ErrorTrapPush() {}
virtual bool ErrorTrapPop( bool ) { return false; }
virtual void ErrorTrapPush() override {}
virtual bool ErrorTrapPop( bool ) override { return false; }
};
// All the interesting stuff is slaved from the AndroidSalInstance