summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 22:48:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 14:00:07 +0100
commitc098227ca3cd4529cc7b7f6c52ada19753e3f203 (patch)
treebee13ef08603fba4397dd9dc220de9fde39e184f /sd
parent77838efb0748689ee77007a92d9a01e03e6dbdb7 (diff)
-Werror,-Wwritable-strings
Change-Id: I01f63a28651c05cf1bba244daa6bd066cc4c04ac
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 103ad97f9dc7..7c1e4e898aa4 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -1368,8 +1368,10 @@ void SAL_CALL BluetoothServer::run()
WSAQUERYSETW aRecord;
memset( &aRecord, 0, sizeof(aRecord));
aRecord.dwSize = sizeof(aRecord);
- aRecord.lpszServiceInstanceName = L"LibreOffice Impress Remote Control";
- aRecord.lpszComment = L"Remote control of presentations over bluetooth.";
+ aRecord.lpszServiceInstanceName = const_cast<wchar_t *>(
+ L"LibreOffice Impress Remote Control");
+ aRecord.lpszComment = const_cast<wchar_t *>(
+ L"Remote control of presentations over bluetooth.");
aRecord.lpServiceClassId = (LPGUID) &SerialPortServiceClass_UUID;
aRecord.dwNameSpace = NS_BTH;
aRecord.dwNumberOfCsAddrs = 1;