diff options
author | A_GAN <ganzouri97@gmail.com> | 2020-01-25 04:33:09 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-01-25 22:02:16 +0100 |
commit | 42e811a80a3c6f0ca5da359c4a526a1cc3e0d528 (patch) | |
tree | e631dcfab8b2541c471a413dd6c071ba9a80e6c0 /sfx2 | |
parent | 5568023a716b945fa3e1398859ee9682b8f71a9a (diff) |
tdf#130137 Replace remaining uses of WNT define checks with _WIN32
Change-Id: If95f1ea5a81de62eb4f725e5fcb30ccb8530062a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87372
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/openuriexternally.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/shutdownicon.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx index c7db4a701b38..ebff4452a1c7 100644 --- a/sfx2/source/appl/openuriexternally.cxx +++ b/sfx2/source/appl/openuriexternally.cxx @@ -67,7 +67,7 @@ void URITools::openURI(const OUString& sURI, bool bHandleSystemShellExecuteExcep // tdf#116305 Workaround: Use timer to bring browsers to the front aOpenURITimer.SetInvokeHandler(LINK(this, URITools, onOpenURI)); -#ifdef WNT +#ifdef _WIN32 // 200ms seems to be the best compromise between responsiveness and success rate aOpenURITimer.SetTimeout(200); #else diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx index f50e776bd0cd..6829330409de 100644 --- a/sfx2/source/appl/shutdownicon.hxx +++ b/sfx2/source/appl/shutdownicon.hxx @@ -145,7 +145,7 @@ class ShutdownIcon : public ShutdownIconServiceBase }; extern "C" { -# ifdef WNT +# ifdef _WIN32 // builtin win32 systray void win32_init_sys_tray(); void win32_shutdown_sys_tray(); |