From 22001778560a08b4097bc30035cd5a494bdd1975 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Oct 2016 16:59:15 +0200 Subject: clang-cl loplugin: bean Change-Id: Iedaf2fc0c1e2cab446687c6c73cceb3c6b77e6e1 Reviewed-on: https://gerrit.libreoffice.org/29880 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bean') 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 ); -- cgit v1.2.3