[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Tue May 9 12:09:25 UTC 2017
sd/source/ui/remotecontrol/DiscoveryService.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 7d9fe6ffa3a50e46b34864983d1b152340331789
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue May 9 14:08:42 2017 +0200
Clean up uses of SAL_U/SAL_W: sd
Change-Id: I9646cbd6544e88fd8b086cd04ff6d318a04375ce
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;
More information about the Libreoffice-commits
mailing list