summaryrefslogtreecommitdiff
path: root/ucbhelper/workben
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2000-11-29 08:17:57 +0000
committerKai Sommerfeld <kso@openoffice.org>2000-11-29 08:17:57 +0000
commitc0871e1e1ed6a0f40013a98e2bb7c2d86f7894e6 (patch)
treebf78e31c1f053c78290bfc6f8b67e0ac33070fea /ucbhelper/workben
parentdcae919f79ffdff0373271694e9b86176a08ceb4 (diff)
#80444# - Fixed UCB initialization.
Diffstat (limited to 'ucbhelper/workben')
-rw-r--r--ucbhelper/workben/ucbexplorer/ucbexplorer.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx
index 53c80bfddbbb..0f29368a161f 100644
--- a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx
+++ b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucbexplorer.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kso $ $Date: 2000-11-15 08:00:04 $
+ * last change: $Author: kso $ $Date: 2000-11-29 09:17:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1215,8 +1215,9 @@ void MyApp::Main()
// Create UCB.
//////////////////////////////////////////////////////////////////////
- Sequence< Any > aArgs(1);
- aArgs[0] <<= sal_True;
+ Sequence< Any > aArgs( 2 );
+ aArgs[ 0 ] <<= OUString::createFromAscii( "Local" );
+ aArgs[ 1 ] <<= OUString::createFromAscii( "Office" );
sal_Bool bSuccess = ::ucb::ContentBroker::initialize( xFac, aArgs );
if ( !bSuccess )