Kaydet (Commit) cd3b1847 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Deprecated conversion to char* from string litteral

Change-Id: I64fc36b38be59c909aa96a9faf876232caaac182
üst afba998a
...@@ -829,8 +829,8 @@ void SAL_CALL BluetoothServer::run() ...@@ -829,8 +829,8 @@ void SAL_CALL BluetoothServer::run()
WSAQUERYSET aRecord; WSAQUERYSET aRecord;
memset( &aRecord, 0, sizeof(aRecord)); memset( &aRecord, 0, sizeof(aRecord));
aRecord.dwSize = sizeof(aRecord); aRecord.dwSize = sizeof(aRecord);
aRecord.lpszServiceInstanceName = "LibreOffice Impress Remote Control"; aRecord.lpszServiceInstanceName = (char *)"LibreOffice Impress Remote Control";
aRecord.lpszComment = "Remote control of presentations over bluetooth."; aRecord.lpszComment = (char *)"Remote control of presentations over bluetooth.";
aRecord.lpServiceClassId = (LPGUID) &SerialPortServiceClass_UUID; aRecord.lpServiceClassId = (LPGUID) &SerialPortServiceClass_UUID;
aRecord.dwNameSpace = NS_BTH; aRecord.dwNameSpace = NS_BTH;
aRecord.dwNumberOfCsAddrs = 1; aRecord.dwNumberOfCsAddrs = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment