summaryrefslogtreecommitdiff
path: root/extensions/test/ole/unoTocomCalls/Test/Test.cpp
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
commit99a103e56fb0d3cd0fdcd6b082b9c5e4a22b62e2 (patch)
tree6231844775605bd6354d30df2c38360e0cc0a484 /extensions/test/ole/unoTocomCalls/Test/Test.cpp
parent9c5348b90a6d1e1c806c78d3a95d0f214691fc50 (diff)
*** empty log message ***
Diffstat (limited to 'extensions/test/ole/unoTocomCalls/Test/Test.cpp')
-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 927d02330..86738c9bd 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