summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/ucbhelper/ucbstreamhelper.cxx12
1 files changed, 6 insertions, 6 deletions
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() )