diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-14 16:11:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-15 14:19:23 +0000 |
commit | 22f96dad080e3fad30b164be8ee45caa11ae4407 (patch) | |
tree | 121cce1160f5c21bd7099503b34cc41fb42dbfa5 /cli_ure/source/climaker | |
parent | 20d648625b991318793bbc7eacfa7c0f2c23f5da (diff) |
Some simplifications, using UNO_QUERY_THROW
Change-Id: I3d29240b7a3aa1d8941ca97f3c3e941e884cbf8b
Reviewed-on: https://gerrit.libreoffice.org/34272
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cli_ure/source/climaker')
-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()); } |