From 7af852b3f4070b10e98a49c4ddc098e89a5b9cca Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 30 Sep 2011 13:03:16 +0100 Subject: callcatcher: remove newly unused code --- editeng/inc/editeng/outliner.hxx | 1 - editeng/source/outliner/outlvw.cxx | 46 -------------------------------------- 2 files changed, 47 deletions(-) (limited to 'editeng') diff --git a/editeng/inc/editeng/outliner.hxx b/editeng/inc/editeng/outliner.hxx index 49e615bdd42e..89ee624507a8 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 ImpPaintDDCursor(); EDITENG_DLLPRIVATE Pointer ImpGetMousePointer( MouseTarget eTarget ); EDITENG_DLLPRIVATE sal_uInt16 ImpInitPaste( sal_uLong& rStart ); diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 0205e4c30acd..eb5944daa283 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -402,52 +402,6 @@ sal_Bool OutlinerView::MouseButtonUp( const MouseEvent& rMEvt ) return pEditView->MouseButtonUp( rMEvt ); } -void OutlinerView::ImpPaintDDCursor() -{ - DBG_CHKTHIS(OutlinerView,0); - - Window* pWindow = pEditView->GetWindow(); - RasterOp eOldOp = pWindow->GetRasterOp(); - pWindow->SetRasterOp( ROP_INVERT ); - - const Color& rOldLineColor = pWindow->GetLineColor(); - pWindow->SetLineColor( Color( COL_BLACK ) ); - - Point aStartPointWin, aEndPointWin; - Rectangle aOutputArWin = pEditView->GetOutputArea(); - - if( bDDChangingDepth ) - { - aStartPointWin.X() = pHorTabArrDoc[ nDDCurDepth ]; - aStartPointWin.X() += aOutputArWin.Left(); - aStartPointWin.Y() = aOutputArWin.Top(); - aEndPointWin.X() = aStartPointWin.X(); - aEndPointWin.Y() = aOutputArWin.Bottom(); - } - else - { - sal_uLong nPara = nDDCurPara; - if ( nDDCurPara == LIST_APPEND ) - { - Paragraph* pTemp = pOwner->pParaList->LastVisible(); - nPara = pOwner->pParaList->GetAbsPos( pTemp ); - } - aStartPointWin = pEditView->GetWindowPosTopLeft((sal_uInt16) nPara ); - if ( nDDCurPara == LIST_APPEND ) - { - long nHeight = pOwner->pEditEngine->GetTextHeight((sal_uInt16)nPara ); - aStartPointWin.Y() += nHeight; - } - aStartPointWin.X() = aOutputArWin.Left(); - aEndPointWin.Y() = aStartPointWin.Y(); - aEndPointWin.X() = aOutputArWin.Right(); - } - - pWindow->DrawLine( aStartPointWin, aEndPointWin ); - pWindow->SetLineColor( rOldLineColor ); - pWindow->SetRasterOp( eOldOp ); -} - void OutlinerView::ImpToggleExpand( Paragraph* pPara ) { DBG_CHKTHIS(OutlinerView,0); -- cgit