diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 13:03:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 13:03:16 +0100 |
commit | 7af852b3f4070b10e98a49c4ddc098e89a5b9cca (patch) | |
tree | 797f54ef3736c9248f8956fcf6175026aa8b68ba | |
parent | new files (diff) | |
download | core-7af852b3f4070b10e98a49c4ddc098e89a5b9cca.tar.gz core-7af852b3f4070b10e98a49c4ddc098e89a5b9cca.zip |
callcatcher: remove newly unused code
-rw-r--r-- | editeng/inc/editeng/outliner.hxx | 1 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 46 |
2 files changed, 0 insertions, 47 deletions
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); |