summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-23 20:19:45 +0100
committerNoel Power <noel.power@suse.com>2013-05-09 14:11:19 +0100
commit6094fc56db09c033b0baabb2cfcddd38559d752c (patch)
tree524e1036f944098feb037b9cbebf50c372d95fc9 /sc
parenta68c828baab8ccb35910a2ffbdbde261f9e24170 (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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaoleobject.cxx2
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