summaryrefslogtreecommitdiff
path: root/cppu/source/uno/prim.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 18:01:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 06:12:56 -0600
commitf480f26e619a4d17f790200b0c38584bbd356893 (patch)
tree4ce402daf412d886a64e6ab31e00761ab97178fb /cppu/source/uno/prim.hxx
parent0bb7b87a7e0b810ac9ff4d4da0bbf7c7c273fb19 (diff)
Remove visual noise from cppu
Change-Id: Ib776a6e5397eb9731cf908c4015642c29b320ff6 Reviewed-on: https://gerrit.libreoffice.org/8247 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cppu/source/uno/prim.hxx')
-rw-r--r--cppu/source/uno/prim.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx
index c0b6804babbb..fbb15baaf0ee 100644
--- a/cppu/source/uno/prim.hxx
+++ b/cppu/source/uno/prim.hxx
@@ -44,7 +44,7 @@ namespace cppu
extern uno_Sequence g_emptySeq;
extern typelib_TypeDescriptionReference * g_pVoidType;
-//--------------------------------------------------------------------------------------------------
+
inline void * _map(
void * p,
typelib_TypeDescriptionReference * pType, typelib_TypeDescription * pTypeDescr,
@@ -69,7 +69,7 @@ inline void * _map(
}
return pRet;
}
-//--------------------------------------------------------------------------------------------------
+
inline void _acquire( void * p, uno_AcquireFunc acquire ) SAL_THROW(())
{
if (p)
@@ -84,7 +84,7 @@ inline void _acquire( void * p, uno_AcquireFunc acquire ) SAL_THROW(())
}
}
}
-//--------------------------------------------------------------------------------------------------
+
inline void _release( void * p, uno_ReleaseFunc release ) SAL_THROW(())
{
if (p)
@@ -100,7 +100,7 @@ inline void _release( void * p, uno_ReleaseFunc release ) SAL_THROW(())
}
}
-//------------------------------------------------------------------------------
+
inline sal_uInt32 calcSeqMemSize(
sal_Int32 nElementSize, sal_Int32 nElements )
{
@@ -113,13 +113,13 @@ inline sal_uInt32 calcSeqMemSize(
return (sal_uInt32) nSize;
}
-//--------------------------------------------------------------------------------------------------
+
inline uno_Sequence * createEmptySequence() SAL_THROW(())
{
osl_atomic_increment( &g_emptySeq.nRefCount );
return &g_emptySeq;
}
-//--------------------------------------------------------------------------------------------------
+
inline typelib_TypeDescriptionReference * _getVoidType()
SAL_THROW(())
{
@@ -131,7 +131,7 @@ inline typelib_TypeDescriptionReference * _getVoidType()
return g_pVoidType;
}
-//--------------------------------------------------------------------------------------------------
+
#if OSL_DEBUG_LEVEL > 0
#define CONSTRUCT_EMPTY_ANY( pAny ) \
(pAny)->pType = _getVoidType(); \
@@ -142,15 +142,15 @@ inline typelib_TypeDescriptionReference * _getVoidType()
(pAny)->pData = (pAny);
#endif
-//--------------------------------------------------------------------------------------------------
+
#define TYPE_ACQUIRE( pType ) \
osl_atomic_increment( &(pType)->nRefCount );
-//--------------------------------------------------------------------------------------------------
+
extern "C" void * binuno_queryInterface(
void * pUnoI, typelib_TypeDescriptionReference * pDestType );
-//--------------------------------------------------------------------------------------------------
+
inline bool _type_equals(
typelib_TypeDescriptionReference * pType1, typelib_TypeDescriptionReference * pType2 )
SAL_THROW(())