[Libreoffice-commits] core.git: sd/source

Tor Lillqvist tml at iki.fi
Sat Feb 16 02:41:41 PST 2013


 sd/source/ui/remotecontrol/OSXBluetooth.mm |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 05dbe2dda095aee2b595a29b95b5952acbe55e67
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sat Feb 16 12:39:02 2013 +0200

    Blind fix for WaE: class does not fully implement protocol
    
    The Xcode 3 compiler warns: class 'ChannelDelegate' does not fully
    implement the 'IOBluetoothRFCOMMChannelDelegate' protocol.
    
    Change-Id: Id468bf7e42e2551fbcc372feefd6ba5967a911fa

diff --git a/sd/source/ui/remotecontrol/OSXBluetooth.mm b/sd/source/ui/remotecontrol/OSXBluetooth.mm
index 2c21e69..1d4a3f0 100644
--- a/sd/source/ui/remotecontrol/OSXBluetooth.mm
+++ b/sd/source/ui/remotecontrol/OSXBluetooth.mm
@@ -43,6 +43,12 @@
     pSocket = NULL;
 }
 
+// The Xcode 3 compiler warns if we don't implement all methods of the
+// IOBluetoothRFCOMMChannelDelegate protocol. In later SDKs they are
+// marked as @optional.
+
+#pragma GCC diagnostic ignored "-Wprotocol"
+
 @end
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list