summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r--svx/source/unodraw/unoshape.cxx54
1 files changed, 0 insertions, 54 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 58dbc2d09ff1..f341bf45a666 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -241,14 +241,12 @@ SvxShape::~SvxShape() throw()
}
-
void SvxShape::TakeSdrObjectOwnership()
{
mpImpl->mbHasSdrObjectOwnership = true;
}
-
bool SvxShape::HasSdrObjectOwnership() const
{
if ( !mpImpl->mbHasSdrObjectOwnership )
@@ -259,28 +257,24 @@ bool SvxShape::HasSdrObjectOwnership() const
}
-
void SvxShape::setShapeKind( sal_uInt32 nKind )
{
mpImpl->mnObjId = nKind;
}
-
sal_uInt32 SvxShape::getShapeKind() const
{
return mpImpl->mnObjId;
}
-
void SvxShape::setMaster( SvxShapeMaster* pMaster )
{
mpImpl->mpMaster = pMaster;
}
-
uno::Any SAL_CALL SvxShape::queryAggregation( const uno::Type& rType ) throw (uno::RuntimeException, std::exception)
{
if( mpImpl->mpMaster )
@@ -454,7 +448,6 @@ void SvxShape::Create( SdrObject* pNewObj, SvxDrawPage* /*pNewPage*/ )
}
-
void SvxShape::ChangeModel( SdrModel* pNewModel )
{
DBG_TESTSOLARMUTEX();
@@ -488,7 +481,6 @@ void SvxShape::ChangeModel( SdrModel* pNewModel )
}
-
void SvxShape::ForceMetricToItemPoolMetric(Pair& rPoint) const throw()
{
DBG_TESTSOLARMUTEX();
@@ -725,7 +717,6 @@ uno::Sequence< uno::Type > SAL_CALL SvxShape::getTypes()
}
-
uno::Sequence< uno::Type > SAL_CALL SvxShape::_getTypes()
throw(uno::RuntimeException)
{
@@ -1004,7 +995,6 @@ uno::Sequence< uno::Type > SAL_CALL SvxShape::_getTypes()
}
-
uno::Sequence< sal_Int8 > SAL_CALL SvxShape::getImplementationId()
throw (uno::RuntimeException, std::exception)
{
@@ -1099,7 +1089,6 @@ static bool svx_needLogicRectHack( SdrObject* pObj )
}
-
static Rectangle svx_getLogicRectHack( SdrObject* pObj )
{
if(svx_needLogicRectHack(pObj))
@@ -1113,7 +1102,6 @@ static Rectangle svx_getLogicRectHack( SdrObject* pObj )
}
-
static void svx_setLogicRectHack( SdrObject* pObj, const Rectangle& rRect )
{
if(svx_needLogicRectHack(pObj))
@@ -1127,7 +1115,6 @@ static void svx_setLogicRectHack( SdrObject* pObj, const Rectangle& rRect )
}
-
awt::Point SAL_CALL SvxShape::getPosition() throw(uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -1248,7 +1235,6 @@ void SAL_CALL SvxShape::setSize( const awt::Size& rSize )
}
-
// XNamed
OUString SAL_CALL SvxShape::getName( ) throw(css::uno::RuntimeException, std::exception)
{
@@ -1264,7 +1250,6 @@ OUString SAL_CALL SvxShape::getName( ) throw(css::uno::RuntimeException, std::e
}
-
void SAL_CALL SvxShape::setName( const OUString& aName ) throw(css::uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -1350,7 +1335,6 @@ void SAL_CALL SvxShape::dispose() throw(uno::RuntimeException, std::exception)
}
-
void SAL_CALL SvxShape::addEventListener( const Reference< lang::XEventListener >& xListener )
throw(uno::RuntimeException, std::exception)
{
@@ -1358,7 +1342,6 @@ void SAL_CALL SvxShape::addEventListener( const Reference< lang::XEventListener
}
-
void SAL_CALL SvxShape::removeEventListener( const Reference< lang::XEventListener >& aListener ) throw(uno::RuntimeException, std::exception)
{
mpImpl->maDisposeListeners.removeInterface(aListener);
@@ -1367,7 +1350,6 @@ void SAL_CALL SvxShape::removeEventListener( const Reference< lang::XEventListen
// XPropertySet
-
Reference< beans::XPropertySetInfo > SAL_CALL
SvxShape::getPropertySetInfo() throw(uno::RuntimeException, std::exception)
{
@@ -1388,7 +1370,6 @@ Reference< beans::XPropertySetInfo > SAL_CALL
}
-
void SAL_CALL SvxShape::addPropertyChangeListener( const OUString& _propertyName, const Reference< beans::XPropertyChangeListener >& _listener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( maMutex );
@@ -1396,7 +1377,6 @@ void SAL_CALL SvxShape::addPropertyChangeListener( const OUString& _propertyName
}
-
void SAL_CALL SvxShape::removePropertyChangeListener( const OUString& _propertyName, const Reference< beans::XPropertyChangeListener >& _listener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( maMutex );
@@ -1404,21 +1384,18 @@ void SAL_CALL SvxShape::removePropertyChangeListener( const OUString& _propertyN
}
-
void SAL_CALL SvxShape::addVetoableChangeListener( const OUString& , const Reference< beans::XVetoableChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL( "SvxShape::addVetoableChangeListener: don't have any vetoable properties, so why ...?" );
}
-
void SAL_CALL SvxShape::removeVetoableChangeListener( const OUString& , const Reference< beans::XVetoableChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL( "SvxShape::removeVetoableChangeListener: don't have any vetoable properties, so why ...?" );
}
-
bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName )
{
SfxItemSet aSet( mpModel->GetItemPool(), (sal_uInt16)nWID, (sal_uInt16)nWID );
@@ -1437,7 +1414,6 @@ bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName
}
-
bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel )
{
// check if an item with the given name and which id is inside the models
@@ -1568,7 +1544,6 @@ bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName,
}
-
bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet )
{
OUString aName = SvxUnogetInternalNameForItem((sal_Int16)nWID, rName);
@@ -1619,7 +1594,6 @@ bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName,
}
-
void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const uno::Any& rVal )
throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
@@ -1747,7 +1721,6 @@ void SAL_CALL SvxShape::_setPropertyValue( const OUString& rPropertyName, const
}
-
uno::Any SAL_CALL SvxShape::getPropertyValue( const OUString& PropertyName )
throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
@@ -1758,7 +1731,6 @@ uno::Any SAL_CALL SvxShape::getPropertyValue( const OUString& PropertyName )
}
-
uno::Any SvxShape::_getPropertyValue( const OUString& PropertyName )
throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
@@ -1817,7 +1789,6 @@ uno::Any SvxShape::_getPropertyValue( const OUString& PropertyName )
}
-
// XMultiPropertySet
void SAL_CALL SvxShape::setPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames, const css::uno::Sequence< css::uno::Any >& aValues ) throw (css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
@@ -1879,7 +1850,6 @@ void SAL_CALL SvxShape::setPropertyValues( const css::uno::Sequence< OUString >&
}
-
void SvxShape::endSetPropertyValues()
{
mbIsMultiPropertyCall = false;
@@ -1891,7 +1861,6 @@ void SvxShape::endSetPropertyValues()
}
-
css::uno::Sequence< css::uno::Any > SAL_CALL SvxShape::getPropertyValues( const css::uno::Sequence< OUString >& aPropertyNames ) throw (css::uno::RuntimeException, std::exception)
{
const sal_Int32 nCount = aPropertyNames.getLength();
@@ -1948,7 +1917,6 @@ void SAL_CALL SvxShape::firePropertiesChangeEvent( const css::uno::Sequence< OUS
}
-
uno::Any SvxShape::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleEntry* pMap ) const
{
DBG_TESTSOLARMUTEX();
@@ -2029,7 +1997,6 @@ uno::Any SvxShape::GetAnyForItem( SfxItemSet& aSet, const SfxItemPropertySimpleE
}
-
// XPropertyState
beans::PropertyState SAL_CALL SvxShape::getPropertyState( const OUString& PropertyName )
throw(beans::UnknownPropertyException, uno::RuntimeException, std::exception)
@@ -2555,7 +2522,6 @@ bool SvxShape::setPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
}
-
bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpleEntry* pProperty, css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
switch( pProperty->nWID )
@@ -2943,7 +2909,6 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
}
-
bool SvxShape::getPropertyStateImpl( const SfxItemPropertySimpleEntry* pProperty, css::beans::PropertyState& rState ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException)
{
if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE )
@@ -2974,7 +2939,6 @@ bool SvxShape::getPropertyStateImpl( const SfxItemPropertySimpleEntry* pProperty
}
-
bool SvxShape::setPropertyToDefaultImpl( const SfxItemPropertySimpleEntry* pProperty ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException)
{
if( pProperty->nWID == OWN_ATTR_FILLBMP_MODE )
@@ -2995,7 +2959,6 @@ bool SvxShape::setPropertyToDefaultImpl( const SfxItemPropertySimpleEntry* pProp
}
-
uno::Sequence< beans::PropertyState > SAL_CALL SvxShape::getPropertyStates( const uno::Sequence< OUString >& aPropertyName )
throw(beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
@@ -3012,7 +2975,6 @@ uno::Sequence< beans::PropertyState > SAL_CALL SvxShape::getPropertyStates( cons
}
-
void SAL_CALL SvxShape::setPropertyToDefault( const OUString& PropertyName )
throw(beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
@@ -3045,7 +3007,6 @@ void SAL_CALL SvxShape::_setPropertyToDefault( const OUString& PropertyName )
}
-
uno::Any SAL_CALL SvxShape::getPropertyDefault( const OUString& aPropertyName )
throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
@@ -3134,8 +3095,6 @@ uno::Sequence<uno::Any> SvxShape::getPropertyDefaults(
}
-
-
// XServiceInfo
OUString SAL_CALL SvxShape::getImplementationName()
@@ -3817,21 +3776,18 @@ void SAL_CALL SvxShape::setParent( const css::uno::Reference< css::uno::XInterfa
}
-
/** called from the XActionLockable interface methods on initial locking */
void SvxShape::lock()
{
}
-
/** called from the XActionLockable interface methods on final unlock */
void SvxShape::unlock()
{
}
-
// XActionLockable
sal_Bool SAL_CALL SvxShape::isActionLocked( ) throw (css::uno::RuntimeException, std::exception)
{
@@ -3841,7 +3797,6 @@ sal_Bool SAL_CALL SvxShape::isActionLocked( ) throw (css::uno::RuntimeException
}
-
void SAL_CALL SvxShape::addActionLock( ) throw (css::uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -3854,7 +3809,6 @@ void SAL_CALL SvxShape::addActionLock( ) throw (css::uno::RuntimeException, std
}
-
void SAL_CALL SvxShape::removeActionLock( ) throw (css::uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -3867,7 +3821,6 @@ void SAL_CALL SvxShape::removeActionLock( ) throw (css::uno::RuntimeException,
}
-
void SAL_CALL SvxShape::setActionLocks( sal_Int16 nLock ) throw (css::uno::RuntimeException, std::exception )
{
::SolarMutexGuard aGuard;
@@ -3882,7 +3835,6 @@ void SAL_CALL SvxShape::setActionLocks( sal_Int16 nLock ) throw (css::uno::Runti
}
-
sal_Int16 SAL_CALL SvxShape::resetActionLocks( ) throw (css::uno::RuntimeException, std::exception)
{
::SolarMutexGuard aGuard;
@@ -3897,7 +3849,6 @@ sal_Int16 SAL_CALL SvxShape::resetActionLocks( ) throw (css::uno::RuntimeExcept
}
-
/** since polygon shapes can change theire kind during editing, we have
to recheck it here.
Circle shapes also change theire kind, but theire all treated equal
@@ -3968,7 +3919,6 @@ uno::Any SAL_CALL SvxShapeText::queryInterface( const uno::Type & rType )
}
-
uno::Any SAL_CALL SvxShapeText::queryAggregation( const uno::Type & rType )
throw( uno::RuntimeException, std::exception )
{
@@ -3980,7 +3930,6 @@ uno::Any SAL_CALL SvxShapeText::queryAggregation( const uno::Type & rType )
}
-
void SAL_CALL SvxShapeText::acquire() throw()
{
SvxShape::acquire();
@@ -4036,7 +3985,6 @@ uno::Sequence< sal_Int8 > SAL_CALL SvxShapeText::getImplementationId()
}
-
/** called from the XActionLockable interface methods on initial locking */
void SvxShapeText::lock()
{
@@ -4046,7 +3994,6 @@ void SvxShapeText::lock()
}
-
/** called from the XActionLockable interface methods on final unlock */
void SvxShapeText::unlock()
{
@@ -4194,7 +4141,6 @@ SdrObject* GetSdrObjectFromXShape( uno::Reference< drawing::XShape > xShape ) th
}
-
SdrObject* SdrObject::getSdrObjectFromXShape( const css::uno::Reference< css::uno::XInterface >& xInt )
{
SvxShape* pSvxShape = SvxShape::getImplementation( xInt );