summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-06-05 17:33:09 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-06-05 17:33:09 +0000
commit1f13bc873ff6cfb5292c0691b39c4d9be9db8c02 (patch)
tree8db88b87a1dabeb434a99115a4d6220c5494816b /unotools/source/ucbhelper
parentae810ecf03bcc88caaaa080d18945c731be2bd05 (diff)
INTEGRATION: CWS bgdlremove (1.19.30); FILE MERGED
2007/05/18 11:38:51 kso 1.19.30.1: #i77419# - cleanup of ucbhelper namespaces.
Diffstat (limited to 'unotools/source/ucbhelper')
-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() )