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 | #100120# let user edit example first (diff) | |
download | core-2f0cd6bccb9c15a2307cf215a299087aae49f8a7.tar.gz core-2f0cd6bccb9c15a2307cf215a299087aae49f8a7.zip |
#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 |