summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cppu/test/purpenvhelper/TestEnv.cxx20
1 files changed, 12 insertions, 8 deletions
diff --git a/cppu/test/purpenvhelper/TestEnv.cxx b/cppu/test/purpenvhelper/TestEnv.cxx
index 262c0023e367..82e8459f7813 100644
--- a/cppu/test/purpenvhelper/TestEnv.cxx
+++ b/cppu/test/purpenvhelper/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:49:26 $
+ * last change: $Author: obo $ $Date: 2007-07-18 12:26:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,6 +33,10 @@
*
************************************************************************/
+// MARKER(update_precomp.py): autogen include statement, do not remove
+#include "precompiled_cppu.hxx"
+
+
#include "cppu/EnvDcp.hxx"
#include "cppu/helper/purpenv/Environment.hxx"
@@ -64,8 +68,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 +86,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;
}