sb126: #i111970# accept and ignore EnableAsync
This commit is contained in:
@@ -241,7 +241,7 @@ Service::createInstanceWithArguments(
|
|||||||
if (nodepath.getLength() == 0) {
|
if (nodepath.getLength() == 0) {
|
||||||
badNodePath();
|
badNodePath();
|
||||||
}
|
}
|
||||||
// For backwards compatibility, allow a notepath that misses the leading
|
// For backwards compatibility, allow a nodepath that misses the leading
|
||||||
// slash:
|
// slash:
|
||||||
if (nodepath[0] != '/') {
|
if (nodepath[0] != '/') {
|
||||||
nodepath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + nodepath;
|
nodepath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + nodepath;
|
||||||
@@ -456,7 +456,8 @@ Factory::createInstanceWithArgumentsAndContext(
|
|||||||
" arguments")),
|
" arguments")),
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
// For backwards compatibility, allow "Locale" in any case:
|
// For backwards compatibility, allow "Locale" and (ignored)
|
||||||
|
// "EnableAsync" in any case:
|
||||||
if (name.equalsIgnoreAsciiCaseAsciiL(
|
if (name.equalsIgnoreAsciiCaseAsciiL(
|
||||||
RTL_CONSTASCII_STRINGPARAM("locale")))
|
RTL_CONSTASCII_STRINGPARAM("locale")))
|
||||||
{
|
{
|
||||||
@@ -471,8 +472,9 @@ Factory::createInstanceWithArgumentsAndContext(
|
|||||||
" one, non-empty, string Locale argument")),
|
" one, non-empty, string Locale argument")),
|
||||||
0);
|
0);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!name.equalsIgnoreAsciiCaseAsciiL(
|
||||||
//TODO
|
RTL_CONSTASCII_STRINGPARAM("enableasync")))
|
||||||
|
{
|
||||||
throw css::uno::Exception(
|
throw css::uno::Exception(
|
||||||
rtl::OUString(
|
rtl::OUString(
|
||||||
RTL_CONSTASCII_USTRINGPARAM(
|
RTL_CONSTASCII_USTRINGPARAM(
|
||||||
|
Reference in New Issue
Block a user