summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-09 14:08:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-09 14:08:42 +0200
commit7d9fe6ffa3a50e46b34864983d1b152340331789 (patch)
tree309714732cc063b6424259376f27837b49cbabba
parent393667119e253d454e9d34eef97f010e69605dac (diff)
Clean up uses of SAL_U/SAL_W: sd
Change-Id: I9646cbd6544e88fd8b086cd04ff6d318a04375ce
-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;