summaryrefslogtreecommitdiff
path: root/sd/source/core/shapelist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/shapelist.cxx')
-rwxr-xr-xsd/source/core/shapelist.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx
index f9f923f77270..bf5b98471b53 100755
--- a/sd/source/core/shapelist.cxx
+++ b/sd/source/core/shapelist.cxx
@@ -170,25 +170,6 @@ SdrObject* ShapeList::getNextShape(SdrObject* pObj) const
return 0;
}
-SdrObject* ShapeList::getPreviousShape( SdrObject* pObj ) const
-{
- if( pObj )
- {
- ListImpl::const_iterator aIter( std::find( maShapeList.begin(), maShapeList.end(), pObj ) );
- if( (aIter != maShapeList.end()) && (aIter != maShapeList.begin()) )
- {
- aIter--;
- return (*aIter);
- }
- }
- else if( !maShapeList.empty() )
- {
- return (*--maShapeList.end());
- }
-
- return 0;
-}
-
void ShapeList::ObjectInDestruction(const SdrObject& rObject)
{
ListImpl::iterator aIter( std::find( maShapeList.begin(), maShapeList.end(), &rObject ) );