summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 13:15:46 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-06-10 14:03:39 +0200
commitcd3b1847a5549e6348aa5b9b0ed1f59f679c6cf0 (patch)
tree80573f0fa6938df737c664abd8023a874cd9e4af /sd
parentafba998a9a4a9759768c09722c31ca2b78204a82 (diff)
Deprecated conversion to char* from string litteral
Change-Id: I64fc36b38be59c909aa96a9faf876232caaac182
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index f5426d80aced..ce8bc3c8debd 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -829,8 +829,8 @@ void SAL_CALL BluetoothServer::run()
WSAQUERYSET aRecord;
memset( &aRecord, 0, sizeof(aRecord));
aRecord.dwSize = sizeof(aRecord);
- aRecord.lpszServiceInstanceName = "LibreOffice Impress Remote Control";
- aRecord.lpszComment = "Remote control of presentations over bluetooth.";
+ aRecord.lpszServiceInstanceName = (char *)"LibreOffice Impress Remote Control";
+ aRecord.lpszComment = (char *)"Remote control of presentations over bluetooth.";
aRecord.lpServiceClassId = (LPGUID) &SerialPortServiceClass_UUID;
aRecord.dwNameSpace = NS_BTH;
aRecord.dwNumberOfCsAddrs = 1;