summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-07 22:54:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-08 09:29:31 +0100
commit3a53904ae64fa87216fcc972dbc746068c640818 (patch)
tree85dabe4176a00037e46920c8dd1c72a1656c95c6 /svx/source/dialog
parent595ce66e708da9e742a2c418f013fc675ffc45a3 (diff)
callcatcher: update list
Diffstat (limited to 'svx/source/dialog')
-rw-r--r--svx/source/dialog/imapwnd.cxx23
-rw-r--r--svx/source/dialog/imapwnd.hxx1
2 files changed, 0 insertions, 24 deletions
diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx
index 5393ef8fd085..b2def05db38d 100644
--- a/svx/source/dialog/imapwnd.cxx
+++ b/svx/source/dialog/imapwnd.cxx
@@ -475,29 +475,6 @@ IMapObject* IMapWindow::GetIMapObj( const SdrObject* pSdrObj ) const
return pIMapObj;
}
-SdrObject* IMapWindow::GetSdrObj( const IMapObject* pIMapObj ) const
-{
- SdrObject* pSdrObj = NULL;
- SdrPage* pPage = (SdrPage*) pModel->GetPage( 0 );
- sal_uIntPtr nCount;
-
- if ( pPage && ( ( nCount = pPage->GetObjCount() ) > 0 ) )
- {
- for ( sal_uIntPtr i = 0; i < nCount; i++ )
- {
- SdrObject* pTestObj = pPage->GetObj( i );
-
- if ( pIMapObj == GetIMapObj( pTestObj ) )
- {
- pSdrObj = pTestObj;
- break;
- }
- }
- }
-
- return pSdrObj;
-}
-
void IMapWindow::Command(const CommandEvent& rCEvt)
{
Region aRegion;
diff --git a/svx/source/dialog/imapwnd.hxx b/svx/source/dialog/imapwnd.hxx
index d5eba52dfaa4..e8c9171782f8 100644
--- a/svx/source/dialog/imapwnd.hxx
+++ b/svx/source/dialog/imapwnd.hxx
@@ -134,7 +134,6 @@ protected:
SdrObject* CreateObj( const IMapObject* pIMapObj );
IMapObject* GetIMapObj( const SdrObject* pSdrObj ) const;
- SdrObject* GetSdrObj( const IMapObject* pIMapObj ) const;
SdrObject* GetHitSdrObj( const Point& rPosPixel ) const;
void UpdateInfo( sal_Bool bNewObj );