From 1f13bc873ff6cfb5292c0691b39c4d9be9db8c02 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 5 Jun 2007 17:33:09 +0000 Subject: INTEGRATION: CWS bgdlremove (1.19.30); FILE MERGED 2007/05/18 11:38:51 kso 1.19.30.1: #i77419# - cleanup of ucbhelper namespaces. --- unotools/source/ucbhelper/ucbstreamhelper.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'unotools/source') diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx index 460d2a2ed1f9..c5c58a0b5b9a 100644 --- a/unotools/source/ucbhelper/ucbstreamhelper.cxx +++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ucbstreamhelper.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: obo $ $Date: 2006-09-17 01:30:42 $ + * last change: $Author: ihi $ $Date: 2007-06-05 18:33:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -76,7 +76,7 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode UcbLockBytesHandler* pHandler, sal_Bool /*bForceSynchron*/, sal_Bool bEnsureFileExists ) { SvStream* pStream = NULL; - ::ucb::ContentBroker* pBroker = ::ucb::ContentBroker::get(); + ::ucbhelper::ContentBroker* pBroker = ::ucbhelper::ContentBroker::get(); if ( pBroker ) { UcbLockBytesRef xLockBytes; @@ -88,7 +88,7 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode try { // truncate is implemented with deleting the original file - ::ucb::Content aCnt( rFileName, Reference < XCommandEnvironment >() ); + ::ucbhelper::Content aCnt( rFileName, Reference < XCommandEnvironment >() ); aCnt.executeCommand( ::rtl::OUString::createFromAscii( "delete" ), makeAny( sal_Bool( sal_True ) ) ); } @@ -113,7 +113,7 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode ::utl::OInputStreamWrapper* pInput = new ::utl::OInputStreamWrapper( aStream ); Reference< XInputStream > xInput( pInput ); - ::ucb::Content aContent( rFileName, Reference < XCommandEnvironment >() ); + ::ucbhelper::Content aContent( rFileName, Reference < XCommandEnvironment >() ); InsertCommandArgument aInsertArg; aInsertArg.Data = xInput; @@ -140,7 +140,7 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode try { // create LockBytes using UCB - ::ucb::Content aContent( rFileName, Reference < XCommandEnvironment >() ); + ::ucbhelper::Content aContent( rFileName, Reference < XCommandEnvironment >() ); xLockBytes = UcbLockBytes::CreateLockBytes( aContent.get(), Sequence < PropertyValue >(), eOpenMode, xInteractionHandler, pHandler ); if ( xLockBytes.Is() ) -- cgit v1.2.3