summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-07 14:03:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-07 14:03:28 +0100
commit28f7f5f67cd6c064e703b3c4d3d2aa2f6286fb77 (patch)
tree6fe767e7fb3e673a74f3f46bd34a8155b6360e89 /stoc
parentc31b821c9fb88bb602cbdbed11e1c402e781de03 (diff)
-Werror=unused-parameter
Change-Id: Ida1c78309cc0cde3082ce4340084aa34986c63c5
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx3
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());
}