summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-30 09:24:23 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-30 09:24:23 +0000
commita5069f3bf75de472e0fd2cddee6af24835d6cc28 (patch)
tree44de2d877e3c0938b2049d7f3813cb22a07daf4e /sfx2
parent1796679a4c5cdfc4a90e0ac95d709010ea55130d (diff)
INTEGRATION: CWS fwk21 (1.63.266); FILE MERGED
2005/08/22 14:55:54 mba 1.63.266.1: i53462: templates must be opened readwrite
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/doctempl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 035bed22e3d4..33aaa8242001 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: doctempl.cxx,v $
*
- * $Revision: 1.64 $
+ * $Revision: 1.65 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 18:40:47 $
+ * last change: $Author: hr $ $Date: 2005-09-30 10:24:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1855,7 +1855,7 @@ SfxObjectShellRef DocTempl_EntryData_Impl::CreateObjectShell()
{
mbIsOwner = sal_True;
SfxMedium *pMed=new SfxMedium(
- aTargetURL,(STREAM_READ | STREAM_SHARE_DENYWRITE), sal_False, 0 );
+ aTargetURL,(STREAM_STD_READWRITE | STREAM_SHARE_DENYALL), sal_False, 0 );
const SfxFilter* pFilter = NULL;
if( pSfxApp->GetFilterMatcher().GuessFilter(
*pMed, &pFilter, SFX_FILTER_TEMPLATE, 0 ) ||