summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxsystemdependentwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxsystemdependentwindow.cxx')
-rw-r--r--toolkit/source/awt/vclxsystemdependentwindow.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/vclxsystemdependentwindow.cxx b/toolkit/source/awt/vclxsystemdependentwindow.cxx
index 488119109b40..18e4a0224122 100644
--- a/toolkit/source/awt/vclxsystemdependentwindow.cxx
+++ b/toolkit/source/awt/vclxsystemdependentwindow.cxx
@@ -75,23 +75,23 @@ css::uno::Any VCLXSystemDependentWindow::getWindowHandle( const css::uno::Sequen
const SystemEnvData* pSysData = static_cast<SystemChildWindow *>(pWindow)->GetSystemData();
if( pSysData )
{
-#if (defined WNT)
+#if defined(_WIN32)
if( SystemType == css::lang::SystemDependent::SYSTEM_WIN32 )
{
aRet <<= reinterpret_cast<sal_IntPtr>(pSysData->hWnd);
}
-#elif (defined MACOSX)
+#elif defined(MACOSX)
if( SystemType == css::lang::SystemDependent::SYSTEM_MAC )
{
aRet <<= reinterpret_cast<sal_IntPtr>(pSysData->mpNSView);
}
-#elif (defined ANDROID)
+#elif defined(ANDROID)
// Nothing
(void) SystemType;
-#elif (defined IOS)
+#elif defined(IOS)
// Nothing
(void) SystemType;
-#elif (defined UNX)
+#elif defined(UNX)
if( SystemType == css::lang::SystemDependent::SYSTEM_XWINDOW )
{
css::awt::SystemDependentXWindow aSD;