diff options
Diffstat (limited to 'bean')
-rw-r--r-- | bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c index 300568d5814b..177d27630e67 100644 --- a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -128,7 +128,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNative and calls on such construct produce a stack overflow. */ - if (GetProp( hWnd, OLD_PROC_KEY )==0) + if (GetProp( hWnd, OLD_PROC_KEY )==NULL) { hFuncPtr = SetWindowLongPtr( hWnd, GWLP_WNDPROC, (LONG_PTR)OpenOfficeWndProc ); SetProp( hWnd, OLD_PROC_KEY, (HANDLE)hFuncPtr ); |