summaryrefslogtreecommitdiff
path: root/odk/examples/OLE
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2002-06-10 15:15:20 +0000
committerMikhail Voitenko <mav@openoffice.org>2002-06-10 15:15:20 +0000
commit2f0cd6bccb9c15a2307cf215a299087aae49f8a7 (patch)
tree1479235ffc480d5ee873f51d7aea34eaea983154 /odk/examples/OLE
parent2788569e0e5a261d96adae881268513fd3413ce6 (diff)
#100120# do not use depricated service
Diffstat (limited to 'odk/examples/OLE')
-rw-r--r--odk/examples/OLE/activex/SOActiveX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/OLE/activex/SOActiveX.cpp b/odk/examples/OLE/activex/SOActiveX.cpp
index 2148fb371c42..a66ad05f5bc1 100644
--- a/odk/examples/OLE/activex/SOActiveX.cpp
+++ b/odk/examples/OLE/activex/SOActiveX.cpp
@@ -337,7 +337,7 @@ HRESULT CSOActiveX::CreateFrameOldWay( HWND hwnd, int width, int height )
if( !SUCCEEDED( hr ) ) return hr;
// create frame
- hr = GetIDispByFunc( mpDispFactory, L"createInstance", &CComVariant( L"com.sun.star.frame.Task" ), 1, mpDispFrame );
+ hr = GetIDispByFunc( mpDispFactory, L"createInstance", &CComVariant( L"com.sun.star.frame.Frame" ), 1, mpDispFrame );
if( !SUCCEEDED( hr ) ) return hr;
// initialize frame