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 /cppu/source/typelib/static_types.cxx | |
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 'cppu/source/typelib/static_types.cxx')
-rw-r--r-- | cppu/source/typelib/static_types.cxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/cppu/source/typelib/static_types.cxx b/cppu/source/typelib/static_types.cxx index 537eff83f835..3886745712fb 100644 --- a/cppu/source/typelib/static_types.cxx +++ b/cppu/source/typelib/static_types.cxx @@ -30,6 +30,7 @@ #include <rtl/instance.hxx> #include <typelib/typedescription.h> +#include "typelib.hxx" using namespace osl; @@ -41,23 +42,6 @@ extern "C" { -sal_Int32 SAL_CALL typelib_typedescription_getAlignedUnoSize( - const typelib_TypeDescription * pTypeDescription, - sal_Int32 nOffset, - sal_Int32 & rMaxIntegralTypeSize ) - SAL_THROW_EXTERN_C(); - -void SAL_CALL typelib_typedescription_newEmpty( - typelib_TypeDescription ** ppRet, - typelib_TypeClass eTypeClass, - rtl_uString * pTypeName ) - SAL_THROW_EXTERN_C(); - -void SAL_CALL typelib_typedescriptionreference_getByName( - typelib_TypeDescriptionReference ** ppRet, - rtl_uString * pName ) - SAL_THROW_EXTERN_C(); - #ifdef SAL_W32 #pragma pack(push, 8) #endif |