[Libreoffice-commits] core.git: stoc/source

Stephan Bergmann sbergman at redhat.com
Fri Mar 7 05:03:55 PST 2014


 stoc/source/inspect/introspection.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 28f7f5f67cd6c064e703b3c4d3d2aa2f6286fb77
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 7 14:03:28 2014 +0100

    -Werror=unused-parameter
    
    Change-Id: Ida1c78309cc0cde3082ce4340084aa34986c63c5

diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 7e3f941..e424ecf 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());
 }
 


More information about the Libreoffice-commits mailing list