diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-05 13:05:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-05 13:10:48 +0100 |
commit | 9720e8e5ef49ee56e3612123a52b4a464d5e96ad (patch) | |
tree | 4b725a63422f12f4d78abb240a15bd24689e1dc9 /cppu/source/uno/data.cxx | |
parent | 32fb1cd5041383908041811c58fdf8d06e75cc49 (diff) |
Some loplugin:revisibility clean-up
Stumbled across such redundant visibility re-specifications when looking at the
odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in
cppu/source/cppu/cppu_opt.cxx and used in inline code in
include/com/sun/star/uno/Reference.hxx with only a declaration lacking
CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows.
However, this plugin is probably not worth it being run all the time, so
committing it to compilerplugins/clang/store/.
Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
Diffstat (limited to 'cppu/source/uno/data.cxx')
-rw-r--r-- | cppu/source/uno/data.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx index 818506b71b0a..68c6d87a4389 100644 --- a/cppu/source/uno/data.cxx +++ b/cppu/source/uno/data.cxx @@ -176,21 +176,21 @@ bool equalSequence( extern "C" { -CPPU_DLLPUBLIC void SAL_CALL uno_type_constructData( +void SAL_CALL uno_type_constructData( void * pMem, typelib_TypeDescriptionReference * pType ) SAL_THROW_EXTERN_C() { _defaultConstructData( pMem, pType, 0 ); } -CPPU_DLLPUBLIC void SAL_CALL uno_constructData( +void SAL_CALL uno_constructData( void * pMem, typelib_TypeDescription * pTypeDescr ) SAL_THROW_EXTERN_C() { _defaultConstructData( pMem, pTypeDescr->pWeakRef, pTypeDescr ); } -CPPU_DLLPUBLIC void SAL_CALL uno_type_destructData( +void SAL_CALL uno_type_destructData( void * pValue, typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release ) SAL_THROW_EXTERN_C() @@ -198,7 +198,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_type_destructData( _destructData( pValue, pType, 0, release ); } -CPPU_DLLPUBLIC void SAL_CALL uno_destructData( +void SAL_CALL uno_destructData( void * pValue, typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release ) @@ -207,7 +207,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_destructData( _destructData( pValue, pTypeDescr->pWeakRef, pTypeDescr, release ); } -CPPU_DLLPUBLIC void SAL_CALL uno_type_copyData( +void SAL_CALL uno_type_copyData( void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire ) @@ -216,7 +216,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_type_copyData( _copyConstructData( pDest, pSource, pType, 0, acquire, 0 ); } -CPPU_DLLPUBLIC void SAL_CALL uno_copyData( +void SAL_CALL uno_copyData( void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire ) @@ -225,7 +225,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_copyData( _copyConstructData( pDest, pSource, pTypeDescr->pWeakRef, pTypeDescr, acquire, 0 ); } -CPPU_DLLPUBLIC void SAL_CALL uno_type_copyAndConvertData( +void SAL_CALL uno_type_copyAndConvertData( void * pDest, void * pSource, typelib_TypeDescriptionReference * pType, uno_Mapping * mapping ) @@ -234,7 +234,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_type_copyAndConvertData( _copyConstructData( pDest, pSource, pType, 0, 0, mapping ); } -CPPU_DLLPUBLIC void SAL_CALL uno_copyAndConvertData( +void SAL_CALL uno_copyAndConvertData( void * pDest, void * pSource, typelib_TypeDescription * pTypeDescr, uno_Mapping * mapping ) @@ -243,7 +243,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_copyAndConvertData( _copyConstructData( pDest, pSource, pTypeDescr->pWeakRef, pTypeDescr, 0, mapping ); } -CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_equalData( +sal_Bool SAL_CALL uno_type_equalData( void * pVal1, typelib_TypeDescriptionReference * pVal1Type, void * pVal2, typelib_TypeDescriptionReference * pVal2Type, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) @@ -255,7 +255,7 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_equalData( queryInterface, release ); } -CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_equalData( +sal_Bool SAL_CALL uno_equalData( void * pVal1, typelib_TypeDescription * pVal1TD, void * pVal2, typelib_TypeDescription * pVal2TD, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) @@ -267,7 +267,7 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_equalData( queryInterface, release ); } -CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_assignData( +sal_Bool SAL_CALL uno_type_assignData( void * pDest, typelib_TypeDescriptionReference * pDestType, void * pSource, typelib_TypeDescriptionReference * pSourceType, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -279,7 +279,7 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_assignData( queryInterface, acquire, release ); } -CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_assignData( +sal_Bool SAL_CALL uno_assignData( void * pDest, typelib_TypeDescription * pDestTD, void * pSource, typelib_TypeDescription * pSourceTD, uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) @@ -291,7 +291,7 @@ CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_assignData( queryInterface, acquire, release ); } -CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData( +sal_Bool SAL_CALL uno_type_isAssignableFromData( typelib_TypeDescriptionReference * pAssignable, void * pFrom, typelib_TypeDescriptionReference * pFromType, uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) |