summaryrefslogtreecommitdiff
path: root/cppu/test
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-18 11:26:03 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-18 11:26:03 +0000
commitf229f4e77364f4f078c20b64980b31112def5753 (patch)
treeaedcffae52dd10a4f9dcba8a3e6bc0402b813b4c /cppu/test
parent31f538e034655145af92616cd352be681dfc0a6a (diff)
INTEGRATION: CWS unomacli64 (1.2.2); FILE MERGED
2007/06/08 09:10:17 kr 1.2.2.2: #i78114# missing includes for precompiled headers 2007/06/05 15:09:13 kr 1.2.2.1: #i77422# Use va_list * instead of plain type; added missing include for precompiled headers
Diffstat (limited to 'cppu/test')
-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;
}