Commits

Anonymous committed fb818dd

Fix for issue: 112530

Comments (0)

Files changed (1)

sc/source/ui/vba/vbaoleobject.cxx

 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