summaryrefslogtreecommitdiff
path: root/include/comphelper/namedvaluecollection.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 16:45:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-25 13:51:24 +0100
commit0f28c8612f4269cec95688b53d182c7c0169236d (patch)
treed840fa85243c10376fc4fb60b4972c028953483a /include/comphelper/namedvaluecollection.hxx
parent8fd13c356d78fb72ba5dd288a495551f23e15363 (diff)
loplugin:unused-returns in basegfx..cppcanvas
Change-Id: I32dc8c92871c8349651d2f4204a332d387e6e1b2 Reviewed-on: https://gerrit.libreoffice.org/48428 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper/namedvaluecollection.hxx')
-rw-r--r--include/comphelper/namedvaluecollection.hxx4
1 files changed, 2 insertions, 2 deletions
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