diff options
Diffstat (limited to 'unoidl/source/legacyprovider.cxx')
-rw-r--r-- | unoidl/source/legacyprovider.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx index 3b57ee5fdcdc..a5062cdeb8d0 100644 --- a/unoidl/source/legacyprovider.cxx +++ b/unoidl/source/legacyprovider.cxx @@ -628,10 +628,10 @@ rtl::Reference< Entity > readEntity( + sub.getName())); } if ((mode & RT_PARAM_REST) != 0 - && !(m == 1 - && ((reader.getMethodParameterTypeName( + && (m != 1 + || ((reader.getMethodParameterTypeName( j, 0)) - == "any"))) + != "any"))) { throw FileFormatException( key.getRegistryName(), |