diff options
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/databases.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 14e5c1c1b2e4..0a88ea65190c 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -65,7 +65,7 @@ #include "databases.hxx" #include "urlparameter.hxx" -#ifdef WNT +#ifdef _WIN32 #include <windows.h> #endif @@ -982,7 +982,7 @@ void Databases::cascadingStylesheet( const OUString& Language, if ( ( aHCMode >>= bHighContrastMode ) && bHighContrastMode ) { aCSS = "highcontrastblack"; - #ifdef WNT + #ifdef _WIN32 HKEY hKey = NULL; LONG lResult = RegOpenKeyExA( HKEY_CURRENT_USER, "Control Panel\\Accessibility\\HighContrast", 0, KEY_QUERY_VALUE, &hKey ); if ( ERROR_SUCCESS == lResult ) |