summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:59:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-16 14:19:32 +0000
commit22001778560a08b4097bc30035cd5a494bdd1975 (patch)
tree0131a7a1553ff76790def778362d0159b78786d0 /bean
parentfee419ae25f15d8f001a1cba1fc1d1704038c94b (diff)
clang-cl loplugin: bean
Change-Id: Iedaf2fc0c1e2cab446687c6c73cceb3c6b77e6e1 Reviewed-on: https://gerrit.libreoffice.org/29880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bean')
-rw-r--r--bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c2
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 );