From 0f28c8612f4269cec95688b53d182c7c0169236d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Jan 2018 16:45:23 +0200 Subject: loplugin:unused-returns in basegfx..cppcanvas Change-Id: I32dc8c92871c8349651d2f4204a332d387e6e1b2 Reviewed-on: https://gerrit.libreoffice.org/48428 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/comphelper/namedvaluecollection.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/comphelper/namedvaluecollection.hxx') diff --git a/include/comphelper/namedvaluecollection.hxx b/include/comphelper/namedvaluecollection.hxx index 9b19bf2e3dda..7ae79b448914 100644 --- a/include/comphelper/namedvaluecollection.hxx +++ b/include/comphelper/namedvaluecollection.hxx @@ -152,9 +152,9 @@ namespace comphelper } template < typename VALUE_TYPE > - bool get_ensureType( const OUString& _rValueName, VALUE_TYPE& _out_rValue ) const + void get_ensureType( const OUString& _rValueName, VALUE_TYPE& _out_rValue ) const { - return get_ensureType( _rValueName, &_out_rValue, ::cppu::UnoType< VALUE_TYPE >::get() ); + get_ensureType( _rValueName, &_out_rValue, ::cppu::UnoType< VALUE_TYPE >::get() ); } /** retrieves a value with a given name, or defaults it to a given value, if it's not present -- cgit