diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 11:48:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 13:04:46 +0100 |
commit | 5298b1b32d90002be8d09fe82955550c18eae8bc (patch) | |
tree | 3af0cf62eed719894b77c99d1e0896c7ad260c25 /editeng | |
parent | 3e6613964f10ff10b71188293a2e4d4d1b29944c (diff) |
callcatcher: ditch some more methods
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/AccessibleEditableTextPara.hxx | 3 | ||||
-rw-r--r-- | editeng/inc/editeng/editobj.hxx | 1 | ||||
-rw-r--r-- | editeng/source/accessibility/AccessibleEditableTextPara.cxx | 21 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 14 |
4 files changed, 0 insertions, 39 deletions
diff --git a/editeng/inc/editeng/AccessibleEditableTextPara.hxx b/editeng/inc/editeng/AccessibleEditableTextPara.hxx index 1e2497f20306..dac131aefc01 100644 --- a/editeng/inc/editeng/AccessibleEditableTextPara.hxx +++ b/editeng/inc/editeng/AccessibleEditableTextPara.hxx @@ -339,9 +339,6 @@ namespace accessibility int getNotifierClientId() const; - // retrieve text interface for given paragraph index - ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleText > GetParaInterface( sal_Int32 nIndex ); - /// Do we have children? This is the case for image bullets sal_Bool HaveChildren(); diff --git a/editeng/inc/editeng/editobj.hxx b/editeng/inc/editeng/editobj.hxx index 66d17d3b6f3e..98346491a415 100644 --- a/editeng/inc/editeng/editobj.hxx +++ b/editeng/inc/editeng/editobj.hxx @@ -82,7 +82,6 @@ public: sal_Bool Store( SvStream& rOStream ) const; static EditTextObject* Create( SvStream& rIStream, SfxItemPool* pGlobalTextObjectPool = 0 ); - void Skip( SvStream& rIStream ); virtual sal_uInt16 GetParagraphCount() const; diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 7f314ea3cc16..7214662f83e7 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -530,27 +530,6 @@ namespace accessibility return mpEditSource ? sal_True : sal_False ; } - uno::Reference< XAccessibleText > AccessibleEditableTextPara::GetParaInterface( sal_Int32 nIndex ) - { - DBG_CHKTHIS( AccessibleEditableTextPara, NULL ); - - uno::Reference< XAccessible > xParent = getAccessibleParent(); - if( xParent.is() ) - { - uno::Reference< XAccessibleContext > xParentContext = xParent->getAccessibleContext(); - if( xParentContext.is() ) - { - uno::Reference< XAccessible > xPara = xParentContext->getAccessibleChild( nIndex ); - if( xPara.is() ) - { - return uno::Reference< XAccessibleText > ( xPara, uno::UNO_QUERY ); - } - } - } - - return uno::Reference< XAccessibleText >(); - } - SvxEditSourceAdapter& AccessibleEditableTextPara::GetEditSource() const SAL_THROW((uno::RuntimeException)) { DBG_CHKTHIS( AccessibleEditableTextPara, NULL ); diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 60ee099a0d45..3ddf1e89f43b 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -420,20 +420,6 @@ EditTextObject* EditTextObject::Create( SvStream& rIStream, SfxItemPool* pGlobal return pTxtObj; } -void EditTextObject::Skip( SvStream& rIStream ) -{ - sal_Size nStartPos = rIStream.Tell(); - - sal_uInt16 _nWhich; - rIStream >> _nWhich; - - sal_uInt32 nStructSz; - rIStream >> nStructSz; - - sal_Size nFullSz = sizeof( _nWhich ) + sizeof( nStructSz ) + nStructSz; - rIStream.Seek( nStartPos + nFullSz ); -} - void EditTextObject::StoreData( SvStream& ) const { OSL_FAIL( "StoreData: Base class!" ); |