diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-03-04 21:14:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-03-06 10:18:58 +0100 |
commit | af1a1587247d9aedba32ff48163f848ab9ab3ab5 (patch) | |
tree | 2b36ddb93e8577357f6148cec73d0850422e104f /include/typelib | |
parent | 5e518d660863448924f6bb6d2a4f57d9d856c624 (diff) |
Make TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK constexpr
...and make dynamic verifications static where applicable
Change-Id: I3fb7ebe6885ee70e493ec1365601a1177d181347
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90002
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/typelib')
-rw-r--r-- | include/typelib/typedescription.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/typelib/typedescription.h b/include/typelib/typedescription.h index 329384c5d172..39ddbd702bd4 100644 --- a/include/typelib/typedescription.h +++ b/include/typelib/typedescription.h @@ -987,6 +987,9 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL typelib_typedescription_complete( description is not initialized. @internal */ +#if defined LIBO_INTERNAL_ONLY && defined __cplusplus +constexpr +#endif inline bool TYPELIB_TYPEDESCRIPTIONREFERENCE_ISREALLYWEAK( _typelib_TypeClass eTypeClass ) { return (eTypeClass == typelib_TypeClass_INTERFACE_METHOD) || |