diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-07 22:54:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-08 09:29:31 +0100 |
commit | 3a53904ae64fa87216fcc972dbc746068c640818 (patch) | |
tree | 85dabe4176a00037e46920c8dd1c72a1656c95c6 /svx | |
parent | 595ce66e708da9e742a2c418f013fc675ffc45a3 (diff) |
callcatcher: update list
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/fmgridcl.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/unoshtxt.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/imapwnd.cxx | 23 | ||||
-rw-r--r-- | svx/source/dialog/imapwnd.hxx | 1 | ||||
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 22 | ||||
-rw-r--r-- | svx/source/table/accessiblecell.cxx | 14 | ||||
-rw-r--r-- | svx/source/table/accessiblecell.hxx | 1 | ||||
-rw-r--r-- | svx/source/unodraw/unoshtxt.cxx | 5 |
8 files changed, 0 insertions, 73 deletions
diff --git a/svx/inc/svx/fmgridcl.hxx b/svx/inc/svx/fmgridcl.hxx index 3f5f2a5bdc6b..3f5e267df37f 100644 --- a/svx/inc/svx/fmgridcl.hxx +++ b/svx/inc/svx/fmgridcl.hxx @@ -134,9 +134,6 @@ public: // ::com::sun::star::form::XInsertListener void inserted(const ::com::sun::star::lang::EventObject& rEvent); - // ::com::sun::star::form::XRestoreListener - void restored(const ::com::sun::star::lang::EventObject& rEvent); - void markColumn(sal_uInt16 nId); sal_Bool isColumnMarked(sal_uInt16 nId) const; diff --git a/svx/inc/svx/unoshtxt.hxx b/svx/inc/svx/unoshtxt.hxx index 159df0563892..e9d32a206f4d 100644 --- a/svx/inc/svx/unoshtxt.hxx +++ b/svx/inc/svx/unoshtxt.hxx @@ -76,13 +76,9 @@ public: virtual SfxBroadcaster& GetBroadcaster() const; - SdrObject* GetSdrObject() const; - void lock(); void unlock(); -// static sal_Bool hasLevels( const SdrObject* pObject ); - // the SvxViewForwarder interface virtual sal_Bool IsValid() const; virtual Rectangle GetVisArea() const; 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 ); diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 2dc7a3671f8c..2837df851b7d 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1457,28 +1457,6 @@ void FmGridControl::inserted(const ::com::sun::star::lang::EventObject& /*rEvent } -// XCancelUpdateRecordListener -//------------------------------------------------------------------------------ -void FmGridControl::restored(const ::com::sun::star::lang::EventObject& rEvent) -{ - if (!GetCurrentRow().Is()) - return; - - sal_Bool bAppending = GetCurrentRow()->IsNew(); - sal_Bool bDirty = GetCurrentRow()->IsModified(); - if (bAppending && (EditBrowseBox::IsModified() || bDirty)) - { - if (Controller().Is()) - Controller()->ClearModified(); - - // jetzt die Zeile herausnehmen - RowRemoved(GetRowCount() - 1, 1, sal_True); - GetNavigationBar().InvalidateAll(); - } - - positioned(rEvent); -} - //------------------------------------------------------------------------------ BrowserHeader* FmGridControl::imp_CreateHeaderBar(BrowseBox* pParent) { diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx index 4b9cbb508fbe..1ba003092177 100644 --- a/svx/source/table/accessiblecell.cxx +++ b/svx/source/table/accessiblecell.cxx @@ -143,20 +143,6 @@ sal_Bool AccessibleCell::ResetState (sal_Int16 aState) return bStateHasChanged; } -// -------------------------------------------------------------------- - -sal_Bool AccessibleCell::GetState (sal_Int16 aState) -{ - if (aState == AccessibleStateType::FOCUSED && mpText != NULL) - { - // Just delegate the call to the edit engine. The state is not - // merged into the state set. - return mpText->HaveFocus(); - } - else - return AccessibleContextBase::GetState (aState); -} - //----------------------------------------------------------------------------- bool AccessibleCell::operator== (const AccessibleCell& rAccessibleCell) diff --git a/svx/source/table/accessiblecell.hxx b/svx/source/table/accessiblecell.hxx index fe2fdfaf6bc1..5b32554f39ac 100644 --- a/svx/source/table/accessiblecell.hxx +++ b/svx/source/table/accessiblecell.hxx @@ -72,7 +72,6 @@ public: virtual sal_Bool SetState (sal_Int16 aState); virtual sal_Bool ResetState (sal_Int16 aState); - sal_Bool GetState (sal_Int16 aState); // XInterface virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException); diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx index 514497ff6e47..84ffd5227e0b 100644 --- a/svx/source/unodraw/unoshtxt.cxx +++ b/svx/source/unodraw/unoshtxt.cxx @@ -1094,11 +1094,6 @@ SfxBroadcaster& SvxTextEditSource::GetBroadcaster() const return *mpImpl; } -SdrObject* SvxTextEditSource::GetSdrObject() const -{ - return mpImpl->GetSdrObject(); -} - void SvxTextEditSource::lock() { mpImpl->lock(); |