diff options
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 38960e2aa06e..527188b0efdb 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -47,7 +47,7 @@ #include <rtl/uuid.h> #include <rtl/process.h> -#ifdef QUARTZ +#ifdef MACOSX #include "premac.h" #include <Cocoa/Cocoa.h> #include "postmac.h" @@ -129,7 +129,7 @@ using org::libreoffice::touch::ByteBufferWrapper; #if (defined WNT) #define SYSTEM_DEPENDENT_TYPE ::com::sun::star::lang::SystemDependent::SYSTEM_WIN32 -#elif (defined QUARTZ) +#elif (defined MACOSX) #define SYSTEM_DEPENDENT_TYPE ::com::sun::star::lang::SystemDependent::SYSTEM_MAC #elif (defined UNX) #define SYSTEM_DEPENDENT_TYPE ::com::sun::star::lang::SystemDependent::SYSTEM_XWINDOW @@ -939,7 +939,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, { SystemParentData aParentData; aParentData.nSize = sizeof( aParentData ); - #if defined QUARTZ + #if defined MACOSX aParentData.pView = reinterpret_cast<NSView*>(nWindowHandle); #elif defined IOS aParentData.pView = reinterpret_cast<UIView*>(nWindowHandle); @@ -1186,7 +1186,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( { SystemParentData aParentData; aParentData.nSize = sizeof( aParentData ); - #if defined QUARTZ + #if defined MACOSX aParentData.pView = reinterpret_cast<NSView*>(nWindowHandle); #elif defined IOS aParentData.pView = reinterpret_cast<UIView*>(nWindowHandle); |