From bc80f951c14208eae6060fe2e6a941f9dd2d619c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Jan 2016 08:39:01 +0200 Subject: loplugin:unusedmethods unused return value in basic Change-Id: I0ccbf994d2c9be35f43fc3c62e60da90634bacdf --- basic/source/classes/sbunoobj.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/classes/sbunoobj.cxx') diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 5bea51795de9..0038dbc696c1 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4754,9 +4754,9 @@ Any StructRefInfo::getValue() return aRet; } -bool StructRefInfo::setValue( const Any& rValue ) +void StructRefInfo::setValue( const Any& rValue ) { - return uno_type_assignData( getInst(), + uno_type_assignData( getInst(), maType.getTypeLibType(), const_cast(rValue.getValue()), rValue.getValueTypeRef(), -- cgit