diff options
-rw-r--r-- | sd/source/ui/remotecontrol/DiscoveryService.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx index 2cfa2624b598..a19cb32b228f 100644 --- a/sd/source/ui/remotecontrol/DiscoveryService.cxx +++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx @@ -76,7 +76,11 @@ DiscoveryService::DiscoveryService() : DiscoveryService::~DiscoveryService() { +#ifdef WNT + closesocket( mSocket ); +#else close( mSocket ); +#endif } void SAL_CALL DiscoveryService::run() |