From c098227ca3cd4529cc7b7f6c52ada19753e3f203 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Nov 2015 22:48:05 +0100 Subject: -Werror,-Wwritable-strings Change-Id: I01f63a28651c05cf1bba244daa6bd066cc4c04ac --- sd/source/ui/remotecontrol/BluetoothServer.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/remotecontrol') 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( + L"LibreOffice Impress Remote Control"); + aRecord.lpszComment = const_cast( + L"Remote control of presentations over bluetooth."); aRecord.lpServiceClassId = (LPGUID) &SerialPortServiceClass_UUID; aRecord.dwNameSpace = NS_BTH; aRecord.dwNumberOfCsAddrs = 1; -- cgit