diff options
-rwxr-xr-x | embedserv/source/embed/ed_ipersiststr.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx index 1c90c3ed42cd..721b97f6caa7 100755 --- a/embedserv/source/embed/ed_ipersiststr.cxx +++ b/embedserv/source/embed/ed_ipersiststr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ed_ipersiststr.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2003-04-24 13:54:31 $ + * last change: $Author: kz $ $Date: 2004-02-25 17:08:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -363,6 +363,18 @@ STDMETHODIMP EmbedDocument_Impl::QueryInterface( REFIID riid, void FAR* FAR* ppv *ppv = (IOleObject*) this; return S_OK; } + else if (IsEqualIID(riid, IID_IOleWindow)) + { + AddRef(); + *ppv = (IOleWindow*) this; + return S_OK; + } + else if (IsEqualIID(riid, IID_IOleInPlaceObject)) + { + AddRef(); + *ppv = (IOleInPlaceObject*) this; + return S_OK; + } else if (IsEqualIID(riid, IID_IPersistFile)) { AddRef(); |