summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 2eb8e36af9e8..048b9bcea31e 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -125,8 +125,7 @@ void DiscoveryService::setupSockets()
// the Win32 SDK 8.1 deprecates inet_addr()
#if defined(_WIN32_WINNT) && _WIN32_WINNT >= _WIN32_WINNT_VISTA
IN_ADDR addr;
- OUString const saddr("239.0.0.1");
- INT ret = InetPtonW(AF_INET, SAL_W(saddr.getStr()), & addr);
+ INT ret = InetPtonW(AF_INET, L"239.0.0.1", & addr);
if (1 == ret)
{
multicastRequest.imr_multiaddr.s_addr = addr.S_un.S_addr;