summaryrefslogtreecommitdiff
path: root/ucb/source/core/ucb.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sb@openoffice.org>2001-11-28 08:43:55 +0000
committerStephan Bergmann <sb@openoffice.org>2001-11-28 08:43:55 +0000
commit140202c3a81843a291edce563d12fe89601fac96 (patch)
tree84c2dba66e0c78bc421fa6684f17b349b7a2078e /ucb/source/core/ucb.cxx
parent7bdc81d5d1cc2b8cd4eb35ee906235c6736623e4 (diff)
#95257# Clarified semantics of XContentProviderManager.queryContentProvider()'s parameter.
Diffstat (limited to 'ucb/source/core/ucb.cxx')
-rw-r--r--ucb/source/core/ucb.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx
index 80ecbb95afbf..4b752fce5dc9 100644
--- a/ucb/source/core/ucb.cxx
+++ b/ucb/source/core/ucb.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucb.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kso $ $Date: 2001-06-25 08:50:27 $
+ * last change: $Author: sb $ $Date: 2001-11-28 09:42:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -377,10 +377,11 @@ com::sun::star::uno::Sequence< ContentProviderInfo > SAL_CALL
//=========================================================================
// virtual
Reference< XContentProvider > SAL_CALL
- UniversalContentBroker::queryContentProvider( const OUString& Scheme )
+ UniversalContentBroker::queryContentProvider( const OUString&
+ Identifier )
throw( com::sun::star::uno::RuntimeException )
{
- return queryContentProvider( Scheme, sal_False );
+ return queryContentProvider( Identifier, sal_False );
}
//=========================================================================
@@ -566,11 +567,12 @@ void SAL_CALL UniversalContentBroker::abort( sal_Int32 CommandId )
//=========================================================================
Reference< XContentProvider > UniversalContentBroker::queryContentProvider(
- const OUString& Scheme, sal_Bool bResolved )
+ const OUString& Identifier,
+ sal_Bool bResolved )
{
osl::MutexGuard aGuard( m_aMutex );
- ProviderList_Impl const * pList = m_aProviders.map( Scheme );
+ ProviderList_Impl const * pList = m_aProviders.map( Identifier );
return pList ? bResolved ? pList->front().getResolvedProvider()
: pList->front().getProvider()
: Reference< XContentProvider >();