diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-10-13 11:30:59 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-10-13 11:30:59 +0200 |
commit | 1c5abcbd60de25c5e97218c8ecbf27560cfbab4f (patch) | |
tree | b7ea0f5d8383348de2c9a17d2c6127a8e7a44c2f /configmgr | |
parent | 8694d2bc19ea6b531e85ac8135de34dc99956bca (diff) | |
parent | b52411d425729abc07766b4568e02d7e30f08a23 (diff) |
Merge commit 'ooo/OOO330_m10'
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 9727ad9b5d92..273a803716c0 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -242,7 +242,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; @@ -457,7 +457,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"))) { @@ -472,8 +473,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( |