summaryrefslogtreecommitdiffstats
path: root/include/comphelper/namedvaluecollection.hxx
diff options
context:
space:
mode:
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