diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 11:07:09 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 11:07:09 +0000 |
commit | f5b62b51c249b2f9a3c448192bf3e3075451f848 (patch) | |
tree | f0683e7d8f352a519e847e1444c3cb5ffd35fcc9 /extensions/source/nsplugin | |
parent | f3bf70b466bc66779b244a56fac6860fe5eb87ef (diff) |
INTEGRATION: CWS nsplugin5 (1.2.86); FILE MERGED
2005/01/31 02:34:25 jmeng 1.2.86.1: #i40379#
Diffstat (limited to 'extensions/source/nsplugin')
-rw-r--r-- | extensions/source/nsplugin/source/so_instance.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/source/nsplugin/source/so_instance.cxx b/extensions/source/nsplugin/source/so_instance.cxx index 35a6469f5958..c9c2575a3e2e 100644 --- a/extensions/source/nsplugin/source/so_instance.cxx +++ b/extensions/source/nsplugin/source/so_instance.cxx @@ -2,9 +2,9 @@ * * $RCSfile: so_instance.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-08-20 10:08:21 $ + * last change: $Author: vg $ $Date: 2005-02-21 12:07:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -455,11 +455,13 @@ int SoPluginInstance::LoadDocument(NSP_HWND hParent) m_xFrame->getName(), 0, setPropValues ); */ - Sequence< ::com::sun::star::beans::PropertyValue > setPropValues2(2); + Sequence< ::com::sun::star::beans::PropertyValue > setPropValues2(3); setPropValues2[0].Name = OUString( RTL_CONSTASCII_USTRINGPARAM("ViewOnly") ); setPropValues2[0].Value <<= sal_True; setPropValues2[1].Name = OUString( RTL_CONSTASCII_USTRINGPARAM("ReadOnly") ); setPropValues2[1].Value <<= sal_True; + setPropValues2[2].Name = OUString( RTL_CONSTASCII_USTRINGPARAM("AsTemplate") ); + setPropValues2[2].Value <<= sal_False; m_xComponent = xLoader->loadComponentFromURL( m_sURL, m_xFrame->getName(), 0, setPropValues2 ); |