diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-06-10 15:15:20 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-06-10 15:15:20 +0000 |
commit | 2f0cd6bccb9c15a2307cf215a299087aae49f8a7 (patch) | |
tree | 1479235ffc480d5ee873f51d7aea34eaea983154 /odk/examples/OLE | |
parent | 2788569e0e5a261d96adae881268513fd3413ce6 (diff) |
#100120# do not use depricated service
Diffstat (limited to 'odk/examples/OLE')
-rw-r--r-- | odk/examples/OLE/activex/SOActiveX.cpp | 2 |
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 |