diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2000-11-29 09:22:23 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2000-11-29 09:22:23 +0000 |
commit | dcc5e82ffa88839b66f0377831e75fbf22170ca6 (patch) | |
tree | 54ffa83390e4173e891d7cd273495f57285b16cf /ucbhelper | |
parent | c0871e1e1ed6a0f40013a98e2bb7c2d86f7894e6 (diff) |
#80444# - Use defines for UCB configuration keys.
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/workben/ucbexplorer/ucbexplorer.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx index 0f29368a161f..9644301603dd 100644 --- a/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx +++ b/ucbhelper/workben/ucbexplorer/ucbexplorer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbexplorer.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kso $ $Date: 2000-11-29 09:17:57 $ + * last change: $Author: kso $ $Date: 2000-11-29 10:22:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,6 +142,9 @@ #ifndef _UCBHELPER_MACROS_HXX #include <ucbhelper/macros.hxx> #endif +#ifndef _UCBHELPER_CONFIGURATIONKEYS_HXX_ +#include <ucbhelper/configurationkeys.hxx> +#endif #ifndef _UCBEXPLORER_HRC #include "ucbexplorer.hrc" @@ -1216,8 +1219,8 @@ void MyApp::Main() ////////////////////////////////////////////////////////////////////// Sequence< Any > aArgs( 2 ); - aArgs[ 0 ] <<= OUString::createFromAscii( "Local" ); - aArgs[ 1 ] <<= OUString::createFromAscii( "Office" ); + aArgs[ 0 ] <<= OUString::createFromAscii( UCB_CONFIGURATION_KEY1_LOCAL ); + aArgs[ 1 ] <<= OUString::createFromAscii( UCB_CONFIGURATION_KEY2_OFFICE ); sal_Bool bSuccess = ::ucb::ContentBroker::initialize( xFac, aArgs ); if ( !bSuccess ) |