diff options
Diffstat (limited to 'extensions/test/ole/unoTocomCalls/Test/Test.cpp')
-rw-r--r-- | extensions/test/ole/unoTocomCalls/Test/Test.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/extensions/test/ole/unoTocomCalls/Test/Test.cpp b/extensions/test/ole/unoTocomCalls/Test/Test.cpp index 27a2229a4d5d..fcb121be6b2a 100644 --- a/extensions/test/ole/unoTocomCalls/Test/Test.cpp +++ b/extensions/test/ole/unoTocomCalls/Test/Test.cpp @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,7 +47,7 @@ int main(int argc, char* argv[]) return -1; } - + _Module.Init( ObjectMap, GetModuleHandle( NULL)); if( FAILED(hr=doTest())) @@ -61,7 +61,7 @@ int main(int argc, char* argv[]) _Module.Term(); CoUninitialize(); - + return 0; } @@ -78,7 +78,7 @@ HRESULT doTest() CComDispatchDriver manager( spUnk); CComVariant param( L"oletest.OleTest"); CComVariant retVal; - hr= manager.Invoke1((LPCOLESTR)L"createInstance", ¶m, &retVal ); + hr= manager.Invoke1((LPCOLESTR)L"createInstance", ¶m, &retVal ); CComDispatchDriver oletest( retVal.punkVal); @@ -92,7 +92,7 @@ HRESULT doTest() //###################################################################### - // out parameters + // out parameters //###################################################################### CComVariant param1( paramDisp); CComVariant param2(1); @@ -149,13 +149,13 @@ HRESULT doTest() hr= oletest.Invoke2(L"testInterface", ¶m1, ¶m2); // XCallback::outSeqByte - // Does not work currently because Sequences are always converted to + // Does not work currently because Sequences are always converted to // SAFEARRAY( VARIANT) - // param2= 32; - // hr= oletest.Invoke2(L"testInterface", ¶m1, ¶m2); - + // param2= 32; + // hr= oletest.Invoke2(L"testInterface", ¶m1, ¶m2); + //###################################################################### - // in / out parameters + // in / out parameters //###################################################################### // XCallback::inoutInterface param2= 100; @@ -200,7 +200,7 @@ HRESULT doTest() param2=120; hr= oletest.Invoke2(L"testInterface", ¶m1, ¶m2); //###################################################################### - // in parameters + // in parameters //###################################################################### // XCallback::inValues param2= 200; @@ -213,7 +213,7 @@ HRESULT doTest() param2= 202; hr= oletest.Invoke2(L"testInterface", ¶m1, ¶m2); //###################################################################### - // The UNO test component OleTest calls on XCallback_Impl.Callback directly + // 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 // creates the COM object itself //###################################################################### @@ -244,6 +244,6 @@ HRESULT doTest() return hr; } // VARIANT CComVariant VT_UNKNOWN VT_DISPATCH V_UI1 CComDispatchDriver WINAPI - + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |