[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Wed Dec 10 03:42:55 PST 2014
sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ac8796dd5e1120ffc67752eb298ebd3e24c198b2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Dec 10 12:42:23 2014 +0100
loplugin:cstylecast
Change-Id: I7f7e9094cb992b2cec3ab156a83791559cbb4344
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index c559c49..e04392d 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -1492,7 +1492,7 @@ void SAL_CALL BluetoothServer::run()
// Create service
IOBluetoothSDPServiceRecordRef serviceRecordRef;
SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 IOBluetoothAddServiceDict
- IOReturn rc = IOBluetoothAddServiceDict((CFDictionaryRef) dict, &serviceRecordRef);
+ IOReturn rc = IOBluetoothAddServiceDict(reinterpret_cast<CFDictionaryRef>(dict), &serviceRecordRef);
SAL_WNODEPRECATED_DECLARATIONS_POP
SAL_INFO("sdremote.bluetooth", "IOBluetoothAddServiceDict returned " << rc);
More information about the Libreoffice-commits
mailing list