diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-25 14:57:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-11 14:12:25 +0200 |
commit | dac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 (patch) | |
tree | f0f66445c3f396759c41d7e3294e728653dbfa88 /bean/native | |
parent | 28b6325901138a6267320902ec889fc434ddde91 (diff) |
new loplugin: externalandnotdefined
Find "missing headers," where a function is declared directly in the
.cxx (as extern) and not defined, and should arguably instead be declared
in an include file.
Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
Diffstat (limited to 'bean/native')
4 files changed, 5 insertions, 6 deletions
diff --git a/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c b/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c index 79193827cc1b..2acabb654858 100644 --- a/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c +++ b/bean/native/unix/com_sun_star_beans_LocalOfficeWindow.c @@ -29,12 +29,10 @@ #include "jawt.h" #include "sal/types.h" +#include "comp_LocalOfficeWindow.h" #define SYSTEM_XWINDOW 6 -SAL_DLLPUBLIC_EXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow - (JNIEnv * env, jobject obj_this); - /*****************************************************************************/ /* * Class: com_sun_star_comp_beans_LocalOfficeWindow diff --git a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c index 0bd0e04e2ce5..c3452b2f80a8 100644 --- a/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -29,6 +29,7 @@ #include "jawt.h" #include "sal/types.h" +#include "comp_LocalOfficeWindow.h" #define SYSTEM_XWINDOW 6 diff --git a/bean/native/win32/com_sun_star_beans_LocalOfficeWindow.c b/bean/native/win32/com_sun_star_beans_LocalOfficeWindow.c index 04094202f632..15c7fa5c7493 100644 --- a/bean/native/win32/com_sun_star_beans_LocalOfficeWindow.c +++ b/bean/native/win32/com_sun_star_beans_LocalOfficeWindow.c @@ -26,12 +26,10 @@ #endif #include "jawt.h" +#include "comp_LocalOfficeWindow.h" #define SYSTEM_WIN32 1 -JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow - (JNIEnv * env, jobject obj_this); - /*****************************************************************************/ /* * Class: com_sun_star_beans_LocalOfficeWindow 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 b4c41623c454..dc0b7f9d03e4 100644 --- a/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c +++ b/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c @@ -29,6 +29,8 @@ #include "jawt.h" #undef JAWT_GetAWT +#include "comp_LocalOfficeWindow.h" + #if defined _MSC_VER #pragma warning(push, 1) #endif |