From 182f5fd47cf2e55abfc74be674b112d630eae737 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Tue, 23 Apr 2013 20:19:45 +0100 Subject: 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 --- sc/source/ui/vba/vbaoleobject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit