From 65db69dd9c1febf4920b09918bf84ee4bb6ec2f6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 27 Mar 2014 21:57:31 +0100 Subject: [PATCH] SAL_OVERRIDE, Mac OS X sd redux Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300 --- sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx | 4 ++-- sd/source/ui/remotecontrol/OSXNetworkService.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx b/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx index 01ad404d9a8b..1ccc24298ef3 100644 --- a/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx +++ b/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx @@ -29,8 +29,8 @@ namespace sd public: OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel ); - virtual sal_Int32 readLine( OString& aLine ); - virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ); + virtual sal_Int32 readLine( OString& aLine ) SAL_OVERRIDE; + virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ) SAL_OVERRIDE; void appendData(void* pBuffer, size_t len ); void channelClosed(); }; diff --git a/sd/source/ui/remotecontrol/OSXNetworkService.hxx b/sd/source/ui/remotecontrol/OSXNetworkService.hxx index fd6a3df0b8a3..5873c1aee5b6 100644 --- a/sd/source/ui/remotecontrol/OSXNetworkService.hxx +++ b/sd/source/ui/remotecontrol/OSXNetworkService.hxx @@ -34,10 +34,10 @@ namespace sd { OSXNetworkService(const std::string& aname = "", unsigned int aport = 1599) : ZeroconfService(aname, aport){} - void clear() { + void clear() SAL_OVERRIDE { [osxservice dealloc]; } - void setup() { + void setup() SAL_OVERRIDE { osxservice = [[OSXBonjourService alloc] init]; [osxservice publishImpressRemoteServiceOnLocalNetworkWithName: @""]; };