summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-09-30 08:11:10 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-09-30 08:11:31 -0500
commitddc28b8ad61e71af94d9bc72f5588556ccfe9b11 (patch)
tree4a1e2b61de33f9614531cf37b415929b04c5e585 /vcl/win
parent677da6ca3d8d0cf548ec5584d4875de4597121d2 (diff)
clean-up ghost traces of unicow
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/app/salinfo.cxx6
-rw-r--r--vcl/win/source/window/salframe.cxx2
2 files changed, 0 insertions, 8 deletions
diff --git a/vcl/win/source/app/salinfo.cxx b/vcl/win/source/app/salinfo.cxx
index 4436c0243f1d..67b23e9c2b91 100644
--- a/vcl/win/source/app/salinfo.cxx
+++ b/vcl/win/source/app/salinfo.cxx
@@ -29,12 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_vcl.hxx"
-// rely on unicows on for multimon functions for older versions
-#if WINVER < 0x0500
-#undef WINVER
-#define WINVER 0x0500
-#endif
-
#include "svsys.h"
#include "rtl/ustrbuf.hxx"
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 5fa18e65e623..0c5e5eedc72a 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -2401,8 +2401,6 @@ static void ImplGetKeyNameText( LONG lParam, sal_Unicode* pBuf,
if ( lParam )
{
nKeyLen = GetKeyNameTextW( lParam, aKeyBuf, nMaxKeyLen );
- // #i12401# the current unicows.dll has a bug in CharUpperBuffW, which corrupts the stack
- // fall back to the ANSI version instead
DBG_ASSERT( nKeyLen <= nMaxKeyLen, "Invalid key name length!" );
if( nKeyLen > nMaxKeyLen )
nKeyLen = 0;