Check for xcu <node> that should rather be <prop>.
This commit is contained in:
parent
66458f367a
commit
ab93e1b483
@ -934,6 +934,16 @@ void XcuParser::handleGroupNode(
|
|||||||
state_.push(State(true)); // ignored
|
state_.push(State(true)); // ignored
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Node::Kind kind = child->kind();
|
||||||
|
if (kind != Node::KIND_GROUP && kind != Node::KIND_SET) {
|
||||||
|
throw css::uno::RuntimeException(
|
||||||
|
(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bad <node> \"")) +
|
||||||
|
name +
|
||||||
|
rtl::OUString(
|
||||||
|
RTL_CONSTASCII_USTRINGPARAM("\" of non group/set kind in ")) +
|
||||||
|
reader.getUrl()),
|
||||||
|
css::uno::Reference< css::uno::XInterface >());
|
||||||
|
}
|
||||||
if (op != OPERATION_MODIFY && op != OPERATION_FUSE) {
|
if (op != OPERATION_MODIFY && op != OPERATION_FUSE) {
|
||||||
throw css::uno::RuntimeException(
|
throw css::uno::RuntimeException(
|
||||||
(rtl::OUString(
|
(rtl::OUString(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user