From a56a678751079b91fe94a2b4eef6d02661b2c48c Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Fri, 7 Dec 2007 10:53:02 +0000 Subject: INTEGRATION: CWS macosxquicktime01 (1.21.58); FILE MERGED 2007/10/27 09:00:18 pl 1.21.58.1: #i82621# changed SystemEnvData and SystemParentData for QUARTZ --- extensions/source/plugin/base/xplugin.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'extensions/source/plugin/base') diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx index e63b5093ec64..b944d1b9ad82 100644 --- a/extensions/source/plugin/base/xplugin.cxx +++ b/extensions/source/plugin/base/xplugin.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xplugin.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: rt $ $Date: 2007-07-05 08:50:51 $ + * last change: $Author: vg $ $Date: 2007-12-07 11:53:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -542,7 +542,7 @@ void XPlugin_Impl::loadPlugin() #ifdef QUARTZ pComm = new MacPluginComm( m_aDescription.Mimetype, m_aDescription.PluginName, - (WindowRef)pEnvData->rWindow, + pEnvData->pView, sv[0], sv[1] ); @@ -583,7 +583,8 @@ void XPlugin_Impl::loadPlugin() m_aNPWindow.window = (void*)pEnvData->aWindow; m_aNPWindow.ws_info = NULL; #else - m_aNPWindow.window = (void*)pEnvData->rWindow; + // FIXME: this is untested and possiblz wrong + m_aNPWindow.window = (void*)pEnvData->pView; m_aNPWindow.type = NPWindowTypeWindow; #endif //QUARTZ #else -- cgit