diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 11:49:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 12:39:35 +0100 |
commit | ebbfc7ea4aea33f79edbb6c989d598f5cbda3854 (patch) | |
tree | 01f70038f62f299ad338e1018b17701c789496eb /editeng | |
parent | c5047ca9fac4ea1d16a977608402622d2b3bfdde (diff) |
callcatcher: newly unused methods
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/editview.hxx | 2 | ||||
-rw-r--r-- | editeng/inc/editeng/outliner.hxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editview.cxx | 33 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 10 |
4 files changed, 0 insertions, 46 deletions
diff --git a/editeng/inc/editeng/editview.hxx b/editeng/inc/editeng/editview.hxx index 288d865a8acc..9346ac7bfbdc 100644 --- a/editeng/inc/editeng/editview.hxx +++ b/editeng/inc/editeng/editview.hxx @@ -221,8 +221,6 @@ public: const SvxFieldItem* GetFieldAtSelection() const; - String GetWordUnderMousePointer( Rectangle& rWordRect ) const; - void SetInvalidateMore( sal_uInt16 nPixel ); sal_uInt16 GetInvalidateMore() const; diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx index 319b6738b65f..49e615bdd42e 100644 --- a/editeng/inc/editeng/outliner.hxx +++ b/editeng/inc/editeng/outliner.hxx @@ -235,7 +235,6 @@ private: EDITENG_DLLPRIVATE sal_uLong ImpCheckMousePos( const Point& rPosPixel, MouseTarget& reTarget); EDITENG_DLLPRIVATE void ImpToggleExpand( Paragraph* pParentPara ); EDITENG_DLLPRIVATE ParaRange ImpGetSelectedParagraphs( sal_Bool bIncludeHiddenChilds ); - EDITENG_DLLPRIVATE void ImpHideDDCursor(); EDITENG_DLLPRIVATE void ImpPaintDDCursor(); EDITENG_DLLPRIVATE Pointer ImpGetMousePointer( MouseTarget eTarget ); diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index c0a64d18a0e2..b0df9d0aab35 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1304,39 +1304,6 @@ const SvxFieldItem* EditView::GetFieldAtSelection() const return 0; } -XubString EditView::GetWordUnderMousePointer( Rectangle& rWordRect ) const -{ - DBG_CHKTHIS( EditView, 0 ); - DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 ); - - Point aPos = pImpEditView->GetWindow()->GetPointerPosPixel(); - aPos = pImpEditView->GetWindow()->PixelToLogic( aPos ); - - XubString aWord; - - if( GetOutputArea().IsInside( aPos ) ) - { - ImpEditEngine* pImpEE = pImpEditView->pEditEngine->pImpEditEngine; - Point aDocPos( pImpEditView->GetDocPos( aPos ) ); - EditPaM aPaM = pImpEE->GetPaM( aDocPos, sal_False ); - EditSelection aWordSel = pImpEE->SelectWord( aPaM ); - - Rectangle aTopLeftRec( pImpEE->PaMtoEditCursor( aWordSel.Min() ) ); - Rectangle aBottomRightRec( pImpEE->PaMtoEditCursor( aWordSel.Max() ) ); - -#if OSL_DEBUG_LEVEL > 1 - DBG_ASSERT( aTopLeftRec.Top() == aBottomRightRec.Top(), "Top () is different in one line?"); -#endif - - Point aPnt1( pImpEditView->GetWindowPos( aTopLeftRec.TopLeft() ) ); - Point aPnt2( pImpEditView->GetWindowPos( aBottomRightRec.BottomRight()) ); - rWordRect = Rectangle( aPnt1, aPnt2 ); - aWord = pImpEE->GetSelected( aWordSel ); - } - - return aWord; -} - void EditView::SetInvalidateMore( sal_uInt16 nPixel ) { DBG_CHKTHIS( EditView, 0 ); diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 529c58368320..0205e4c30acd 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -402,16 +402,6 @@ sal_Bool OutlinerView::MouseButtonUp( const MouseEvent& rMEvt ) return pEditView->MouseButtonUp( rMEvt ); } -void OutlinerView::ImpHideDDCursor() -{ - DBG_CHKTHIS(OutlinerView,0); - if ( bDDCursorVisible ) - { - bDDCursorVisible = sal_False; - ImpPaintDDCursor(); - } -} - void OutlinerView::ImpPaintDDCursor() { DBG_CHKTHIS(OutlinerView,0); |