summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-18 11:18:27 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-18 11:18:27 +0000
commit3d4f42b2c72820e63ffaa5b4e541b6eb429ffb87 (patch)
treee99ce106fb88e186edd1207e9222e459a50af0d2 /cppuhelper
parent65b1291817f53159249578ff54ada8e100f77c7c (diff)
INTEGRATION: CWS unomacli64 (1.2.6); FILE MERGED
2007/06/08 09:53:51 kr 1.2.6.2: #i78114# missing includes for precompiled headers 2007/06/08 08:40:55 kr 1.2.6.1: #i77422# Use va_list * instead of plain type
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/test/bootstrap/TestEnv.cxx19
1 files changed, 11 insertions, 8 deletions
diff --git a/cppuhelper/test/bootstrap/TestEnv.cxx b/cppuhelper/test/bootstrap/TestEnv.cxx
index 9caea9a0f..e4ac7849a 100644
--- a/cppuhelper/test/bootstrap/TestEnv.cxx
+++ b/cppuhelper/test/bootstrap/TestEnv.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: TestEnv.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2007-05-09 13:26:30 $
+ * last change: $Author: obo $ $Date: 2007-07-18 12:18:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,6 +33,9 @@
*
************************************************************************/
+// MARKER(update_precomp.py): autogen include statement, do not remove
+#include "precompiled_cppuhelper.hxx"
+
#include "cppu/EnvDcp.hxx"
#include "cppu/helper/purpenv/Environment.hxx"
@@ -64,8 +67,8 @@ protected:
virtual void v_enter(void);
virtual void v_leave(void);
- virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list param);
- virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list param);
+ virtual void v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam);
+ virtual void v_callOut_v (uno_EnvCallee * pCallee, va_list * pParam);
virtual int v_isValid (rtl::OUString * pReason);
};
@@ -82,17 +85,17 @@ TestEnv::~TestEnv(void)
}
-void TestEnv::v_callInto_v(uno_EnvCallee * pCallee, va_list param)
+void TestEnv::v_callInto_v(uno_EnvCallee * pCallee, va_list * pParam)
{
++ m_inCount;
- pCallee(param);
+ pCallee(pParam);
-- m_inCount;
}
-void TestEnv::v_callOut_v(uno_EnvCallee * pCallee, va_list param)
+void TestEnv::v_callOut_v(uno_EnvCallee * pCallee, va_list * pParam)
{
-- m_inCount;
- pCallee(param);
+ pCallee(pParam);
++ m_inCount;
}