summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbunoobj.cxx4
-rw-r--r--basic/source/inc/sbunoobj.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 2e6aa8f75391..f9938f56e91b 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -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(),
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index aa5c2f981b28..5300e2cba999 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -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