summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-10-08 08:07:42 +0200
committerobo <obo@openoffice.org>2010-10-08 08:07:42 +0200
commitccbb3ffa0a23579332ce68dec4dbfaa4e145d2fd (patch)
tree11c9e3420496363b27385cec1dd595619a34f962 /configmgr
parent4ad5d2ff2763a17d0ab7eebe735add9dcf12aa46 (diff)
parent855fbe2dbeeecc713a22abd4ec0ddb6abbe54f02 (diff)
CWS-TOOLING: integrate CWS fwk159
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/configurationprovider.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx
index a89540a881..78d71e73e7 100644
--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -241,7 +241,7 @@ Service::createInstanceWithArguments(
if (nodepath.getLength() == 0) {
badNodePath();
}
- // For backwards compatibility, allow a notepath that misses the leading
+ // For backwards compatibility, allow a nodepath that misses the leading
// slash:
if (nodepath[0] != '/') {
nodepath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + nodepath;
@@ -456,7 +456,8 @@ Factory::createInstanceWithArgumentsAndContext(
" arguments")),
0);
}
- // For backwards compatibility, allow "Locale" in any case:
+ // For backwards compatibility, allow "Locale" and (ignored)
+ // "EnableAsync" in any case:
if (name.equalsIgnoreAsciiCaseAsciiL(
RTL_CONSTASCII_STRINGPARAM("locale")))
{
@@ -471,8 +472,9 @@ Factory::createInstanceWithArgumentsAndContext(
" one, non-empty, string Locale argument")),
0);
}
- } else {
- //TODO
+ } else if (!name.equalsIgnoreAsciiCaseAsciiL(
+ RTL_CONSTASCII_STRINGPARAM("enableasync")))
+ {
throw css::uno::Exception(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(