diff options
Diffstat (limited to 'stoc/source/inspect')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 7e3f94186875..e424ecf3c03f 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -2837,7 +2837,8 @@ com_sun_star_comp_stoc_Introspection_get_implementation( css::uno::XComponentContext * context, css::uno::Sequence<css::uno::Any> const & arguments) { - assert(!arguments.hasElements()); + SAL_WARN_IF( + arguments.hasElements(), "stoc", "unexpected singleton arguments"); return cppu::acquire(Singleton::get(context).instance.get()); } |