summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/onlinecheck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/onlinecheck.cxx')
-rw-r--r--extensions/source/update/check/onlinecheck.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/source/update/check/onlinecheck.cxx b/extensions/source/update/check/onlinecheck.cxx
index 3207647447f0..1568f848a2ed 100644
--- a/extensions/source/update/check/onlinecheck.cxx
+++ b/extensions/source/update/check/onlinecheck.cxx
@@ -41,9 +41,7 @@ extern "C" bool SAL_CALL WNT_hasInternetConnection()
DWORD dwFlags;
TCHAR szConnectionName[1024];
-#ifndef __MINGW32__
__try {
-#endif
BOOL fIsConnected = InternetGetConnectedStateEx(
&dwFlags,
szConnectionName,
@@ -52,11 +50,9 @@ extern "C" bool SAL_CALL WNT_hasInternetConnection()
return fIsConnected;
-#ifndef __MINGW32__
} __except( EXCEPTION_EXECUTE_HANDLER ) {
return false;
}
-#endif
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */