summaryrefslogtreecommitdiff
path: root/extensions/test/ole/unoTocomCalls/Test
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-09-04 15:03:01 +0000
committerJoachim Lingner <jl@openoffice.org>2002-09-04 15:03:01 +0000
commit49e278ce00dd2ea41fd4b99724d0eb33477961b9 (patch)
tree20e7346db90ff911a99d16ab7648cb791010bcef /extensions/test/ole/unoTocomCalls/Test
parent60e7730eaa75a8ed7b22d90f98ddb9600af833b6 (diff)
*** empty log message ***
Diffstat (limited to 'extensions/test/ole/unoTocomCalls/Test')
-rw-r--r--extensions/test/ole/unoTocomCalls/Test/Test.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/extensions/test/ole/unoTocomCalls/Test/Test.cpp b/extensions/test/ole/unoTocomCalls/Test/Test.cpp
index e7ec376cc460..4be893cbb436 100644
--- a/extensions/test/ole/unoTocomCalls/Test/Test.cpp
+++ b/extensions/test/ole/unoTocomCalls/Test/Test.cpp
@@ -2,9 +2,9 @@
*
* $RCSfile: Test.cpp,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:16:55 $
+ * last change: $Author: jl $ $Date: 2002-09-04 16:01:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -129,6 +129,7 @@ HRESULT doTest()
//######################################################################
CComVariant param1( paramDisp);
CComVariant param2(1);
+
// oletest calls XCallback::func1
hr= oletest.Invoke2(L"testInterface", &param1, &param2);
// XCallback::returnInterface
@@ -238,11 +239,12 @@ HRESULT doTest()
param2= 200;
hr= oletest.Invoke2(L"testInterface", &param1, &param2);
// XCallback::inSeqByte
- // Does not work currently because Sequences are always converted to
// SAFEARRAY( VARIANT)
- // param2= 201;
- // hr= oletest.Invoke2(L"testInterface", &param1, &param2);
-
+ param2= 201;
+ hr= oletest.Invoke2(L"testInterface", &param1, &param2);
+ //XCallback::inSeqXEventListener
+ param2= 202;
+ hr= oletest.Invoke2(L"testInterface", &param1, &param2);
//######################################################################
// The UNO test component OleTest calls on XCallback_Impl.Callback directly
// that is the COM object has not been past a parameter but rather OleTest