diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 14:27:15 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 16:30:24 +0200 |
commit | ce433069f1b1c39ba368d5d2fc8008b6e9148324 (patch) | |
tree | eafa20b7d8e4f352e903f74a4a8969fbe11b7784 /vcl/osx/salinst.cxx | |
parent | 69a7d9aea25240ababb298e5b8a89d2492057ca6 (diff) |
Add SAL_OVERRIDE markup for the vcl OS X and iOS code, and follow-up cleanup
Thanks to SAL_OVERRIDE, I found a couple of unused functions and
several that were virtual even if they did not override anything and
were not overridden in any derived class.
Change-Id: I5981111d2fc38f75a384c52359546a973e772393
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r-- | vcl/osx/salinst.cxx | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 1eb1dff3377a..28480b8e02f4 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -81,7 +81,7 @@ class AquaDelayedSettingsChanged : public Timer { } - virtual void Timeout() + virtual void Timeout() SAL_OVERRIDE { SalData* pSalData = GetSalData(); if( ! pSalData->maFrames.empty() ) @@ -949,32 +949,6 @@ void AquaSalInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter ) -SalSystem* AquaSalInstance::CreateSystem() -{ - return new AquaSalSystem(); -} - - - -void AquaSalInstance::DestroySystem( SalSystem* pSystem ) -{ - delete pSystem; -} - - - -void AquaSalInstance::SetEventCallback( void*, bool(*)(void*,void*,int) ) -{ -} - - - -void AquaSalInstance::SetErrorEventCallback( void*, bool(*)(void*,void*,int) ) -{ -} - - - void* AquaSalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes ) { rReturnedBytes = 1; @@ -1083,8 +1057,8 @@ public: // asks whether there is a status window available // to toggle into menubar - virtual bool canToggle() { return false; } - virtual void toggle() {} + virtual bool canToggle() SAL_OVERRIDE { return false; } + virtual void toggle() SAL_OVERRIDE {} }; |