Kaydet (Commit) 22f96dad authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Some simplifications, using UNO_QUERY_THROW

Change-Id: I3d29240b7a3aa1d8941ca97f3c3e941e884cbf8b
Reviewed-on: https://gerrit.libreoffice.org/34272Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 20d64862
......@@ -2266,10 +2266,7 @@ resolveInterfaceTypedef(
return xIfaceTd;
Reference<reflection::XIndirectTypeDescription> xIndTd(
type, UNO_QUERY);
if (xIndTd.is() == sal_False)
throw css::uno::Exception(
"resolveInterfaceTypedef was called with an invalid argument", 0);
type, UNO_QUERY_THROW);
return resolveInterfaceTypedef(xIndTd->getReferencedType());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment