diff options
author | Noel Power <noel.power@suse.com> | 2013-04-23 20:19:45 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-07 09:56:25 +0100 |
commit | 182f5fd47cf2e55abfc74be674b112d630eae737 (patch) | |
tree | fc7f28433247bd94a33e7f4bffd499e5aa9397a6 | |
parent | 1d292bc443dcf69c3e3821a55e1f7c5fbdbf0eb9 (diff) |
return correct object ( was returning an uno object in the vba api )
Fix typo ( or brain fart ) where the VBA api was returning the libreoffice
uno object instead of the vba wrapper object
Change-Id: I0e615368d636ad08b40842ef9b91f3818829d3ea
-rw-r--r-- | sc/source/ui/vba/vbaoleobject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaoleobject.cxx b/sc/source/ui/vba/vbaoleobject.cxx index 0210fe1b0c70..0db97d234915 100644 --- a/sc/source/ui/vba/vbaoleobject.cxx +++ b/sc/source/ui/vba/vbaoleobject.cxx @@ -50,7 +50,7 @@ ScVbaOLEObject::ScVbaOLEObject( const uno::Reference< XHelperInterface >& xParen uno::Reference< uno::XInterface > SAL_CALL ScVbaOLEObject::getObject() throw (uno::RuntimeException) { - return uno::Reference< uno::XInterface >( m_xControlShape, uno::UNO_QUERY_THROW ); + return uno::Reference< uno::XInterface >( m_xControl, uno::UNO_QUERY_THROW ); } sal_Bool SAL_CALL |