Kaydet (Commit) d438c470 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1231668 Unchecked return value

Change-Id: Ia7e47b5d42e9a488b3952f12d607b3f17661c44d
üst f8ce2e04
......@@ -4797,9 +4797,9 @@ Any StructRefInfo::getValue()
return aRet;
}
void StructRefInfo::setValue( const Any& rValue )
bool StructRefInfo::setValue( const Any& rValue )
{
uno_type_assignData( getInst(),
return uno_type_assignData( getInst(),
maType.getTypeLibType(),
(void*)rValue.getValue(),
rValue.getValueTypeRef(),
......
......@@ -60,7 +60,7 @@ public:
bool isEmpty() { return (mnPos == -1); }
::com::sun::star::uno::Any getValue();
void setValue( const ::com::sun::star::uno::Any& );
bool setValue( const ::com::sun::star::uno::Any& );
};
class SbUnoStructRefObject: public SbxObject
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment