Kaydet (Commit) ebbfc7ea authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: newly unused methods

üst c5047ca9
...@@ -432,7 +432,6 @@ public: ...@@ -432,7 +432,6 @@ public:
sal_uInt16 GetDebugFlags() { return nFlags; } sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; } void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
SbMethod* GetCaller(); SbMethod* GetCaller();
SbxArray* GetLocals();
SbxArray* GetParams(); SbxArray* GetParams();
SbxVariable* GetExternalCaller(){ return mpExtCaller; } SbxVariable* GetExternalCaller(){ return mpExtCaller; }
......
...@@ -914,11 +914,6 @@ SbMethod* SbiRuntime::GetCaller() ...@@ -914,11 +914,6 @@ SbMethod* SbiRuntime::GetCaller()
return pMeth; return pMeth;
} }
SbxArray* SbiRuntime::GetLocals()
{
return refLocals;
}
SbxArray* SbiRuntime::GetParams() SbxArray* SbiRuntime::GetParams()
{ {
return refParams; return refParams;
......
...@@ -221,8 +221,6 @@ public: ...@@ -221,8 +221,6 @@ public:
const SvxFieldItem* GetFieldAtSelection() const; const SvxFieldItem* GetFieldAtSelection() const;
String GetWordUnderMousePointer( Rectangle& rWordRect ) const;
void SetInvalidateMore( sal_uInt16 nPixel ); void SetInvalidateMore( sal_uInt16 nPixel );
sal_uInt16 GetInvalidateMore() const; sal_uInt16 GetInvalidateMore() const;
......
...@@ -235,7 +235,6 @@ private: ...@@ -235,7 +235,6 @@ private:
EDITENG_DLLPRIVATE sal_uLong ImpCheckMousePos( const Point& rPosPixel, MouseTarget& reTarget); EDITENG_DLLPRIVATE sal_uLong ImpCheckMousePos( const Point& rPosPixel, MouseTarget& reTarget);
EDITENG_DLLPRIVATE void ImpToggleExpand( Paragraph* pParentPara ); EDITENG_DLLPRIVATE void ImpToggleExpand( Paragraph* pParentPara );
EDITENG_DLLPRIVATE ParaRange ImpGetSelectedParagraphs( sal_Bool bIncludeHiddenChilds ); EDITENG_DLLPRIVATE ParaRange ImpGetSelectedParagraphs( sal_Bool bIncludeHiddenChilds );
EDITENG_DLLPRIVATE void ImpHideDDCursor();
EDITENG_DLLPRIVATE void ImpPaintDDCursor(); EDITENG_DLLPRIVATE void ImpPaintDDCursor();
EDITENG_DLLPRIVATE Pointer ImpGetMousePointer( MouseTarget eTarget ); EDITENG_DLLPRIVATE Pointer ImpGetMousePointer( MouseTarget eTarget );
......
...@@ -1304,39 +1304,6 @@ const SvxFieldItem* EditView::GetFieldAtSelection() const ...@@ -1304,39 +1304,6 @@ const SvxFieldItem* EditView::GetFieldAtSelection() const
return 0; 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 ) void EditView::SetInvalidateMore( sal_uInt16 nPixel )
{ {
DBG_CHKTHIS( EditView, 0 ); DBG_CHKTHIS( EditView, 0 );
......
...@@ -402,16 +402,6 @@ sal_Bool OutlinerView::MouseButtonUp( const MouseEvent& rMEvt ) ...@@ -402,16 +402,6 @@ sal_Bool OutlinerView::MouseButtonUp( const MouseEvent& rMEvt )
return pEditView->MouseButtonUp( rMEvt ); return pEditView->MouseButtonUp( rMEvt );
} }
void OutlinerView::ImpHideDDCursor()
{
DBG_CHKTHIS(OutlinerView,0);
if ( bDDCursorVisible )
{
bDDCursorVisible = sal_False;
ImpPaintDDCursor();
}
}
void OutlinerView::ImpPaintDDCursor() void OutlinerView::ImpPaintDDCursor()
{ {
DBG_CHKTHIS(OutlinerView,0); DBG_CHKTHIS(OutlinerView,0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment