diff options
Diffstat (limited to 'udkapi/com/sun/star/lang/SystemDependent.idl')
-rw-r--r-- | udkapi/com/sun/star/lang/SystemDependent.idl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/udkapi/com/sun/star/lang/SystemDependent.idl b/udkapi/com/sun/star/lang/SystemDependent.idl index 89447b467f59..1764eb98edd4 100644 --- a/udkapi/com/sun/star/lang/SystemDependent.idl +++ b/udkapi/com/sun/star/lang/SystemDependent.idl @@ -27,16 +27,14 @@ module com { module sun { module star { module lang { <p> You should avoid system-dependent methods if possible. - @example:C++ - - <listing> - #ifdef __WINDOW // Microsoft Windows + @code{.cpp} + #ifdef _WIN32 // Microsoft Windows HWND hWin = (HWND)xInterface->getWindowHandle(SystemDependentWIN32); if( hWin ) ... #elif( ... ) // other systems ... #endif - </listing> + @endcode <p>The Symbols are now prepended with SYSTEM_ thus we avoid collisions with system headers. </p> |