summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbasheetobject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbasheetobject.cxx')
-rw-r--r--sc/source/ui/vba/vbasheetobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbasheetobject.cxx b/sc/source/ui/vba/vbasheetobject.cxx
index 28d55a14c4e5..d371bf2ed35b 100644
--- a/sc/source/ui/vba/vbasheetobject.cxx
+++ b/sc/source/ui/vba/vbasheetobject.cxx
@@ -232,7 +232,7 @@ sal_Int32 SAL_CALL ScVbaSheetObjectBase::getPlacement()
{
sal_Int32 const nRet = excel::XlPlacement::xlMoveAndSize;
#if 0 // TODO: not working at the moment.
- SvxShape* pShape = SvxShape::getImplementation( mxShape );
+ SvxShape* pShape = comphelper::getUnoTunnelImplementation<SvxShape>( mxShape );
if(pShape)
{
SdrObject* pObj = pShape->GetSdrObject();
@@ -250,7 +250,7 @@ sal_Int32 SAL_CALL ScVbaSheetObjectBase::getPlacement()
void SAL_CALL ScVbaSheetObjectBase::setPlacement( sal_Int32 /*nPlacement*/ )
{
#if 0 // TODO: not working at the moment.
- SvxShape* pShape = SvxShape::getImplementation( mxShape );
+ SvxShape* pShape = comphelper::getUnoTunnelImplementation<SvxShape>( mxShape );
if(pShape)
{
SdrObject* pObj = pShape->GetSdrObject();