summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-30 11:49:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-30 12:39:35 +0100
commitebbfc7ea4aea33f79edbb6c989d598f5cbda3854 (patch)
tree01f70038f62f299ad338e1018b17701c789496eb /editeng/source
parentc5047ca9fac4ea1d16a977608402622d2b3bfdde (diff)
callcatcher: newly unused methods
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/editview.cxx33
-rw-r--r--editeng/source/outliner/outlvw.cxx10
2 files changed, 0 insertions, 43 deletions
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);