From 0877538602f437e21eb8b653efa01c7fe0d7079f Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 11 Aug 2004 10:02:11 +0000 Subject: INTEGRATION: CWS impress15ea (1.14.8); FILE MERGED 2004/06/18 14:33:06 kso 1.14.8.1: #i30200# - Fixed lcl_CreateStream() STREAM_TRUNC mode handling. --- unotools/source/ucbhelper/ucbstreamhelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unotools') diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx index 536fd0be6d1f..741b9de2796c 100644 --- a/unotools/source/ucbhelper/ucbstreamhelper.cxx +++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbstreamhelper.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: obo $ $Date: 2004-05-28 15:19:02 $ + * last change: $Author: obo $ $Date: 2004-08-11 11:02:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,7 +127,7 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode } } - if ( bEnsureFileExists ) + if ( bEnsureFileExists || bTruncate ) { try { -- cgit