Removed check for class existence.

This commit is contained in:
Alexandre Julliard 2000-02-13 15:10:50 +00:00
parent d711ad9e0a
commit 83ab5ae577
1 changed files with 0 additions and 7 deletions

View File

@ -50,7 +50,6 @@
#include "winbase.h"
#include "winerror.h"
#include "ole2.h"
#include "class.h"
#include "debugtools.h"
@ -697,15 +696,10 @@ static HWND OLEClipbrd_CreateWindow()
{
HWND hwnd = 0;
WNDCLASSEXA wcex;
ATOM atom;
/*
* Register the clipboard window class if necessary
*/
if ( !( atom = GlobalFindAtomA(OLEClipbrd_WNDCLASS) ) ||
!( CLASS_FindClassByAtom(atom, 0) ) )
{
ZeroMemory( &wcex, sizeof(WNDCLASSEXA));
wcex.cbSize = sizeof(WNDCLASSEXA);
@ -718,7 +712,6 @@ static HWND OLEClipbrd_CreateWindow()
wcex.lpszClassName = OLEClipbrd_WNDCLASS;
RegisterClassExA(&wcex);
}
/*
* Create a hidden window to receive OLE clipboard messages