summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-20 21:57:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 09:39:15 +0100
commitaf6752b88e34df05449a4237d9be0fac509c227c (patch)
tree39eb9c3f30cfa12bba0546db5d643512323c9084 /svx/source
parentb2d7ede98716806cc4b3ea8547247175d5f04d18 (diff)
callcatcher: remove unused methods
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/wrapfield.cxx7
-rw-r--r--svx/source/form/navigatortree.cxx47
2 files changed, 0 insertions, 54 deletions
diff --git a/svx/source/dialog/wrapfield.cxx b/svx/source/dialog/wrapfield.cxx
index 1ba6f31b2b1c..904761ca6692 100644
--- a/svx/source/dialog/wrapfield.cxx
+++ b/svx/source/dialog/wrapfield.cxx
@@ -32,13 +32,6 @@
namespace svx {
-// ============================================================================
-
-WrapField::WrapField( Window* pParent, WinBits nWinStyle ) :
- NumericField( pParent, nWinStyle )
-{
-}
-
WrapField::WrapField( Window* pParent, const ResId& rResId ) :
NumericField( pParent, rResId )
{
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index 63fa854d291f..96af909eb63b 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -124,53 +124,6 @@ namespace svxform
}
}
- //------------------------------------------------------------------------
- sal_Bool isModelShapeMarked( FmEntryData* _pEntry, const MapModelToShape& _rModelMap, SdrMarkView* _pView )
- {
- DBG_ASSERT( _pEntry && _pView, "isModelShapeMarked: invalid arguments!" );
- if ( !_pEntry || !_pView )
- return sal_False;
-
- DBG_ASSERT( _pEntry->GetElement().get() == Reference< XInterface >( _pEntry->GetElement(), UNO_QUERY ).get(),
- "isModelShapeMarked: element of the FmEntryData is not normalized!" );
- // normalization of the XInterface is a prerequisite for properly finding it in the map
-
- sal_Bool bIsMarked = sal_False;
-
- MapModelToShape::const_iterator aPos = _rModelMap.find( _pEntry->GetElement() );
- if ( _rModelMap.end() != aPos )
- { // there is a shape for this model ....
- bIsMarked = _pView->IsObjMarked( aPos->second );
- if ( !bIsMarked )
- {
- // IsObjMarked does not step down grouped objects, so the sal_False we
- // have is not really reliable (while a sal_True would have been)
- // Okay, travel the mark list, and see if there is a group marked, and our shape
- // is a part of this group
- sal_uInt32 nMarked = _pView->GetMarkedObjectList().GetMarkCount();
- for ( sal_uInt32 i = 0; (i<nMarked ) && !bIsMarked; ++i )
- {
- SdrMark* pMark = _pView->GetMarkedObjectList().GetMark( i );
- SdrObject* pObj = pMark ? pMark->GetMarkedSdrObj() : NULL;
- if ( pObj && pObj->IsGroupObject() )
- { // the i-th marked shape is a group shape
- SdrObjListIter aIter( *pObj );
- while ( aIter.IsMore() )
- {
- if ( aIter.Next() == aPos->second )
- {
- bIsMarked = sal_True;
- break;
- }
- }
- }
- }
- }
- }
-
- return bIsMarked;
- }
-
//========================================================================
// class NavigatorTree
//========================================================================