summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdobj.cxx5
-rw-r--r--svx/source/unodraw/unoshape.cxx6
2 files changed, 8 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 568b88df2923..4018e65314a5 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -3027,6 +3027,11 @@ SvxShape* SdrObject::getSvxShape() const
return xShape;
}
+void SdrObject::setUnoShape(const uno::Reference<uno::XInterface >& _rxUnoShape)
+{
+ impl_setUnoShape( _rxUnoShape );
+}
+
::svx::PropertyChangeNotifier& SdrObject::getShapePropertyChangeNotifier()
{
DBG_TESTSOLARMUTEX();
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 6a15396a68c6..f1a3c37b4c4a 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -257,7 +257,7 @@ SvxShape::~SvxShape() throw()
mpImpl->mpMaster->dispose();
if ( mpObj.is() )
- mpObj->setUnoShape( NULL, SdrObject::GrantXShapeAccess() );
+ mpObj->setUnoShape(NULL);
if( HasSdrObjectOwnership() && mpObj.is() )
{
@@ -385,7 +385,7 @@ void SvxShape::impl_initFromSdrObject()
osl_incrementInterlockedCount( &m_refCount );
{
- mpObj->setUnoShape( *this, SdrObject::GrantXShapeAccess() );
+ mpObj->setUnoShape(*this);
}
osl_decrementInterlockedCount( &m_refCount );
@@ -1382,7 +1382,7 @@ void SAL_CALL SvxShape::dispose() throw(uno::RuntimeException)
}
}
- mpObj->setUnoShape( NULL, SdrObject::GrantXShapeAccess() );
+ mpObj->setUnoShape(NULL);
if ( bFreeSdrObject )
{