diff options
-rw-r--r-- | cli_ure/source/climaker/climaker_emit.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli_ure/source/climaker/climaker_emit.cxx b/cli_ure/source/climaker/climaker_emit.cxx index 55e7bc9f9c11..720d04feb02f 100644 --- a/cli_ure/source/climaker/climaker_emit.cxx +++ b/cli_ure/source/climaker/climaker_emit.cxx @@ -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()); } |