summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/backend/multistratumbackend.cxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/configmgr/source/backend/multistratumbackend.cxx b/configmgr/source/backend/multistratumbackend.cxx
index a6aac52f7620..93c46f1f57e9 100644
--- a/configmgr/source/backend/multistratumbackend.cxx
+++ b/configmgr/source/backend/multistratumbackend.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: multistratumbackend.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2004-11-15 13:35:45 $
+ * last change: $Author: rt $ $Date: 2005-05-20 15:43:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -501,6 +501,24 @@ sal_Bool SAL_CALL
}
//------------------------------------------------------------------------------
+rtl::OUString SAL_CALL
+ MultiStratumBackend::getSchemaVersion(const rtl::OUString& aComponent)
+ throw (backenduno::BackendAccessException,
+ lang::IllegalArgumentException,
+ uno::RuntimeException)
+{
+ osl::MutexGuard aGuard(mMutex);
+
+ if (checkOkState())
+ {
+ uno::Reference<backenduno::XVersionedSchemaSupplier> xVersionSupplier(mSchemaSupplier,uno::UNO_QUERY);
+ if (xVersionSupplier.is())
+ return xVersionSupplier->getSchemaVersion(aComponent) ;
+ }
+ return rtl::OUString();
+}
+//------------------------------------------------------------------------------
+
uno::Reference<backenduno::XSchema> SAL_CALL
MultiStratumBackend::getComponentSchema(const rtl::OUString& aComponent)
throw (backenduno::BackendAccessException,