summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-10 12:42:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-10 12:42:23 +0100
commitac8796dd5e1120ffc67752eb298ebd3e24c198b2 (patch)
tree5843dd2582ce80d5fcf5670f17588a76172486b2
parentfd60dd5226b6cefb1eb621f8e479ba59bf11b0b7 (diff)
loplugin:cstylecast
Change-Id: I7f7e9094cb992b2cec3ab156a83791559cbb4344
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index c559c49bf081..e04392dcddf7 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);