summaryrefslogtreecommitdiff
path: root/cppuhelper/test/bootstrap
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
commit68d26285846d5e10c979d54cb9d1dfb3c5a7dd43 (patch)
treede99f8a81d82f22534591fa9cf4465e3a2d63690 /cppuhelper/test/bootstrap
parent81125ed50ed478e756233f04d1a8e626d584eb53 (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/test/bootstrap')
-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 ed7c9b37dd4b..7163312dcc6b 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;
}