summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-18 11:18:14 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-18 11:18:14 +0000
commit65b1291817f53159249578ff54ada8e100f77c7c (patch)
tree988c3ceafbacbeb9427f61585aa654facb2a38b5 /cppuhelper
parent529b222317045387999deae8950b55cc7ef5cf4d (diff)
INTEGRATION: CWS unomacli64 (1.27.6); FILE MERGED
2007/06/06 07:40:31 kr 1.27.6.1: #i77422# Use va_list * instead of plain type; added missing include for precompiled headers
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 75557ffef..1f82f0b32 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: shlib.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: kz $ $Date: 2007-05-09 13:26:03 $
+ * last change: $Author: obo $ $Date: 2007-07-18 12:18:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -322,13 +322,13 @@ static OUString getLibEnv(OUString const & aModulePath,
return aExcMsg;
}
-extern "C" {static void s_getFactory(va_list param)
+extern "C" {static void s_getFactory(va_list * pParam)
{
- component_getFactoryFunc pSym = va_arg(param, component_getFactoryFunc);
- OString const * pImplName = va_arg(param, OString const *);
- void * pSMgr = va_arg(param, void *);
- void * pKey = va_arg(param, void *);
- void ** ppSSF = va_arg(param, void **);
+ component_getFactoryFunc pSym = va_arg(*pParam, component_getFactoryFunc);
+ OString const * pImplName = va_arg(*pParam, OString const *);
+ void * pSMgr = va_arg(*pParam, void *);
+ void * pKey = va_arg(*pParam, void *);
+ void ** ppSSF = va_arg(*pParam, void **);
*ppSSF = pSym(pImplName->getStr(), pSMgr, pKey);
}}
@@ -469,12 +469,12 @@ Reference< XInterface > SAL_CALL loadSharedLibComponentFactory(
}
//==============================================================================
-extern "C" { static void s_writeInfo(va_list param)
+extern "C" { static void s_writeInfo(va_list * pParam)
{
- component_writeInfoFunc pSym = va_arg(param, component_writeInfoFunc);
- void * pSMgr = va_arg(param, void *);
- void * pKey = va_arg(param, void *);
- sal_Bool * pbRet = va_arg(param, sal_Bool *);
+ component_writeInfoFunc pSym = va_arg(*pParam, component_writeInfoFunc);
+ void * pSMgr = va_arg(*pParam, void *);
+ void * pKey = va_arg(*pParam, void *);
+ sal_Bool * pbRet = va_arg(*pParam, sal_Bool *);
*pbRet = pSym(pSMgr, pKey);