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

callcatcher: remove newly unused code

üst 11cc5981
......@@ -210,7 +210,6 @@ public:
SbMethod* GetCaller( sal_uInt16 );
SbModule* GetActiveModule();
SbxArray* GetLocals( SbMethod* );
SbiIoSystem* GetIoSystem() { return pIosys; }
SbiDdeControl* GetDdeControl() { return pDdeCtrl; }
......
......@@ -516,17 +516,6 @@ SbMethod* SbiInstance::GetCaller( sal_uInt16 nLevel )
return NULL;
}
SbxArray* SbiInstance::GetLocals( SbMethod* pMeth )
{
SbiRuntime* p = pRun;
while( p && p->GetMethod() != pMeth )
p = p->pNext;
if( p )
return p->GetLocals();
else
return NULL;
}
// SbiInstance //
// Attention: pMeth can also be NULL (on a call of the init-code)
......
......@@ -157,14 +157,10 @@ public:
void Paste();
void PasteSpecial();
void EnablePaste( sal_Bool bEnable );
sal_Bool IsPasteEnabled() const;
void Undo();
void Redo();
// especially for Oliver Specht
sal_uInt16 GetParagraph( const Point& rMousePosPixel );
Point GetWindowPosTopLeft( sal_uInt16 nParagraph );
void MoveParagraphs( Range aParagraphs, sal_uInt16 nNewPos );
void MoveParagraphs( long nDiff );
......@@ -196,7 +192,6 @@ public:
void ForceUpdate();
SfxStyleSheet* GetStyleSheet() const;
void SetStyleSheet( SfxStyleSheet* pStyle );
void SetAnchorMode( EVAnchorMode eMode );
EVAnchorMode GetAnchorMode() const;
......@@ -217,7 +212,6 @@ public:
sal_Bool IsCursorAtWrongSpelledWord( sal_Bool bMarkIfWrong = sal_False );
sal_Bool IsWrongSpelledWordAtPos( const Point& rPosPixel, sal_Bool bMarkIfWrong = sal_False );
void SpellIgnoreWord();
void ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack = 0 );
void InsertField( const SvxFieldItem& rFld );
......@@ -227,7 +221,6 @@ public:
const SvxFieldItem* GetFieldAtSelection() const;
String GetWordUnderMousePointer() const;
String GetWordUnderMousePointer( Rectangle& rWordRect ) const;
void SetInvalidateMore( sal_uInt16 nPixel );
......
......@@ -238,11 +238,6 @@ private:
EDITENG_DLLPRIVATE void ImpHideDDCursor();
EDITENG_DLLPRIVATE void ImpPaintDDCursor();
EDITENG_DLLPRIVATE void ImpScrollLeft();
EDITENG_DLLPRIVATE void ImpScrollRight();
EDITENG_DLLPRIVATE void ImpScrollUp();
EDITENG_DLLPRIVATE void ImpScrollDown();
EDITENG_DLLPRIVATE Pointer ImpGetMousePointer( MouseTarget eTarget );
EDITENG_DLLPRIVATE sal_uInt16 ImpInitPaste( sal_uLong& rStart );
EDITENG_DLLPRIVATE void ImpPasted( sal_uLong nStart, sal_uLong nPrevParaCount, sal_uInt16 nSize);
......
......@@ -632,20 +632,6 @@ void EditView::PasteSpecial()
pImpEditView->Paste(aClipBoard, sal_True );
}
void EditView::EnablePaste( sal_Bool bEnable )
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
pImpEditView->EnablePaste( bEnable );
}
sal_Bool EditView::IsPasteEnabled() const
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
return pImpEditView->IsPasteEnabled();
}
Point EditView::GetWindowPosTopLeft( sal_uInt16 nParagraph )
{
DBG_CHKTHIS( EditView, 0 );
......@@ -654,17 +640,6 @@ Point EditView::GetWindowPosTopLeft( sal_uInt16 nParagraph )
return pImpEditView->GetWindowPos( aDocPos );
}
sal_uInt16 EditView::GetParagraph( const Point& rMousePosPixel )
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
Point aMousePos( rMousePosPixel );
aMousePos = GetWindow()->PixelToLogic( aMousePos );
Point aDocPos( pImpEditView->GetDocPos( aMousePos ) );
sal_uInt16 nParagraph = PIMPEE->GetParaPortions().FindParagraph( aDocPos.Y() );
return nParagraph;
}
EESelectionMode EditView::GetSelectionMode() const
{
DBG_CHKTHIS( EditView, 0 );
......@@ -801,17 +776,6 @@ void EditView::ForceUpdate()
PIMPEE->SetUpdateMode( sal_True, this, sal_True );
}
void EditView::SetStyleSheet( SfxStyleSheet* pStyle )
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
EditSelection aSel( pImpEditView->GetEditSelection() );
PIMPEE->UndoActionStart( EDITUNDO_STYLESHEET );
PIMPEE->SetStyleSheet( aSel, pStyle );
PIMPEE->UndoActionEnd( EDITUNDO_STYLESHEET );
}
SfxStyleSheet* EditView::GetStyleSheet() const
{
DBG_CHKTHIS( EditView, 0 );
......@@ -1262,13 +1226,6 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
}
}
void EditView::SpellIgnoreWord()
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
pImpEditView->SpellIgnoreOrAddWord( sal_False );
}
sal_Bool EditView::SelectCurrentWord( sal_Int16 nWordType )
{
DBG_CHKTHIS( EditView, 0 );
......@@ -1347,15 +1304,6 @@ const SvxFieldItem* EditView::GetFieldAtSelection() const
return 0;
}
XubString EditView::GetWordUnderMousePointer() const
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
Rectangle aRect;
return GetWordUnderMousePointer( aRect );
}
XubString EditView::GetWordUnderMousePointer( Rectangle& rWordRect ) const
{
DBG_CHKTHIS( EditView, 0 );
......
......@@ -693,103 +693,6 @@ Rectangle OutlinerView::GetVisArea() const
return pEditView->GetVisArea();
}
void OutlinerView::ImpScrollLeft()
{
DBG_CHKTHIS(OutlinerView,0);
Rectangle aVisArea( pEditView->GetVisArea() );
long nMaxScrollOffs = aVisArea.Left();
if ( !nMaxScrollOffs )
return;
long nScrollOffsRef = (aVisArea.GetWidth() * OL_SCROLL_HOROFFSET) / 100;
if ( !nScrollOffsRef )
nScrollOffsRef = 1;
if ( nScrollOffsRef > nMaxScrollOffs )
nScrollOffsRef = nMaxScrollOffs;
ImpHideDDCursor();
Scroll( -nScrollOffsRef, 0 );
EditStatus aScrollStat;
aScrollStat.GetStatusWord() = EE_STAT_HSCROLL;
pOwner->pEditEngine->GetStatusEventHdl().Call( &aScrollStat );
}
void OutlinerView::ImpScrollRight()
{
DBG_CHKTHIS(OutlinerView,0);
Rectangle aVisArea( pEditView->GetVisArea() );
long nMaxScrollOffs = pOwner->pEditEngine->GetPaperSize().Width() -
aVisArea.Right();
if ( !nMaxScrollOffs )
return;
long nScrollOffsRef = (aVisArea.GetWidth() * OL_SCROLL_HOROFFSET) / 100;
if ( !nScrollOffsRef )
nScrollOffsRef = 1;
if ( nScrollOffsRef > nMaxScrollOffs )
nScrollOffsRef = nMaxScrollOffs;
ImpHideDDCursor();
Scroll( nScrollOffsRef, 0 );
EditStatus aScrollStat;
aScrollStat.GetStatusWord() = EE_STAT_HSCROLL;
pOwner->pEditEngine->GetStatusEventHdl().Call( &aScrollStat );
}
void OutlinerView::ImpScrollDown()
{
DBG_CHKTHIS(OutlinerView,0);
Rectangle aVisArea( pEditView->GetVisArea() );
Size aDocSize( 0, (long)pOwner->pEditEngine->GetTextHeight() );
long nMaxScrollOffs = aDocSize.Height();
nMaxScrollOffs -= aVisArea.Top();
nMaxScrollOffs -= aVisArea.GetHeight();
if ( !nMaxScrollOffs )
return;
long nScrollOffsRef = (aVisArea.GetHeight() * OL_SCROLL_VEROFFSET) / 100;
if ( nScrollOffsRef > nMaxScrollOffs )
nScrollOffsRef = nMaxScrollOffs;
if ( !nScrollOffsRef )
nScrollOffsRef = 1;
ImpHideDDCursor();
Scroll( 0, -nScrollOffsRef );
EditStatus aScrollStat;
aScrollStat.GetStatusWord() = EE_STAT_VSCROLL;
pOwner->pEditEngine->GetStatusEventHdl().Call( &aScrollStat );
}
void OutlinerView::ImpScrollUp()
{
DBG_CHKTHIS(OutlinerView,0);
Rectangle aVisArea( pEditView->GetVisArea() );
long nMaxScrollOffs = aVisArea.Top();
if ( !nMaxScrollOffs )
return;
long nScrollOffsRef = (aVisArea.GetHeight() * OL_SCROLL_VEROFFSET) / 100;
if ( nScrollOffsRef > nMaxScrollOffs )
nScrollOffsRef = nMaxScrollOffs;
if ( !nScrollOffsRef )
nScrollOffsRef = 1;
ImpHideDDCursor();
Scroll( 0, nScrollOffsRef );
EditStatus aScrollStat;
aScrollStat.GetStatusWord() = EE_STAT_VSCROLL;
pOwner->pEditEngine->GetStatusEventHdl().Call( &aScrollStat );
}
void OutlinerView::Expand()
{
DBG_CHKTHIS( OutlinerView, 0 );
......
......@@ -180,34 +180,6 @@ void ParagraphList::MoveParagraphs( sal_uLong nStart, sal_uLong nDest, sal_uLong
}
}
Paragraph* ParagraphList::NextVisible( Paragraph* pPara ) const
{
std::vector<Paragraph*>::const_iterator iter = std::find(maEntries.begin(),
maEntries.end(),
pPara);
for (; iter != maEntries.end(); ++iter)
{
if ((*iter)->IsVisible())
break;
}
return iter != maEntries.end() ? *iter : NULL;
}
Paragraph* ParagraphList::PrevVisible( Paragraph* pPara ) const
{
std::vector<Paragraph*>::const_reverse_iterator iter = std::find(maEntries.rbegin(),
maEntries.rend(),
pPara);
for (; iter != maEntries.rend(); ++iter)
{
if ((*iter)->IsVisible())
break;
}
return iter != maEntries.rend() ? *iter : NULL;
}
Paragraph* ParagraphList::LastVisible() const
{
std::vector<Paragraph*>::const_reverse_iterator iter;
......@@ -314,20 +286,4 @@ sal_uLong ParagraphList::GetAbsPos( Paragraph* pParent ) const
return ~0;
}
sal_uLong ParagraphList::GetVisPos( Paragraph* pPara ) const
{
sal_uLong nVisPos = 0;
std::vector<Paragraph*>::const_iterator iter;
for (iter = maEntries.begin(); iter != maEntries.end(); ++iter, ++nVisPos)
{
if (*iter == pPara)
break;
if ((*iter)->IsVisible())
++nVisPos;
}
return nVisPos;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -51,15 +51,12 @@ public:
}
sal_uLong GetAbsPos( Paragraph* pParent ) const;
sal_uLong GetVisPos( Paragraph* pParagraph ) const;
void Append( Paragraph *pPara);
void Insert( Paragraph* pPara, sal_uLong nAbsPos);
void Remove( sal_uLong nPara );
void MoveParagraphs( sal_uLong nStart, sal_uLong nDest, sal_uLong nCount );
Paragraph* NextVisible( Paragraph* ) const;
Paragraph* PrevVisible( Paragraph* ) const;
Paragraph* LastVisible() const;
Paragraph* GetParent( Paragraph* pParagraph /*, sal_uInt16& rRelPos */ ) const;
......
......@@ -90,6 +90,7 @@ CurrencyBox::RemoveValue(long)
CurrencyField::CurrencyField(Window*, ResId const&)
CurrencyFormatter::SetCurrencySymbol(String const&)
CustomToolBarImportHelper::showToolbar(rtl::OUString const&)
DateBox::DateBox(Window*, ResId const&)
DateBox::GetDate(unsigned short) const
DateBox::GetDatePos(Date const&) const
DateBox::InsertDate(Date const&, unsigned short)
......@@ -142,8 +143,6 @@ EditEngine::WordRight(ESelection const&, unsigned short) const
EditView::Drop(DropEvent const&)
EditView::GetDropPos()
EditView::GetSelectionMode() const
EditView::GetWordUnderMousePointer() const
EditView::IsPasteEnabled() const
EditView::MatchGroup()
EditView::QueryDrop(DropEvent&)
EditView::SetCursor(Cursor const&)
......@@ -289,7 +288,6 @@ MSFilterTracer::SetProperty(rtl::OUString const&, com::sun::star::uno::Any const
MSFilterTracer::StartElement(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>)
MachineSettings::CopyData()
MailDispatcher::removeListener(rtl::Reference<IMailDispatcherListener>)
MaskSet::MaskSet(SvxBmpMask*, long)
Matrix3d::Inverse() const
Matrix3d::Matrix3d()
MergeData::~MergeData()
......@@ -305,13 +303,11 @@ MiscSettings::SetDisablePrinting(unsigned char)
MiscSettings::SetEnableATToolSupport(unsigned char)
ModulWindow::LinkStubBasicErrorHdl(void*, void*)
MoreButton::RemoveWindow(Window*)
MouseEvent::InitMouseEvent(com::sun::star::awt::MouseEvent&) const
MultiLineEdit::GetHScrollBar() const
MultiLineEdit::GetLeftMargin() const
MultiLineEdit::GetTextLines() const
MultiLineEdit::IsFocusSelectionHideEnabled() const
MultiLineEdit::IsRightToLeft() const
MultiPropertySetHelper::MultiPropertySetHelper(rtl::OUString const*)
MultiSelection::Append(long)
MultiSelection::PrevSelected()
NameNode::IsOrderTree() const
......@@ -341,22 +337,6 @@ OUStringsSort_Impl::Remove(unsigned short, unsigned short)
Octree::AddColor(BitmapColor const&)
Octree::Octree(unsigned long)
OdtGeneratorPrivate::_writeBegin()
OutlinerView::AdjustDepth(Paragraph*, short, unsigned char)
OutlinerView::AdjustHeight(Paragraph*, long, unsigned char)
OutlinerView::Collapse(Paragraph*)
OutlinerView::CompleteAutoCorrect()
OutlinerView::EnablePaste(unsigned char)
OutlinerView::Expand(Paragraph*)
OutlinerView::GetFieldUnderMousePointer(unsigned short&, unsigned short&) const
OutlinerView::ImpDragScroll(Point const&)
OutlinerView::ImpGetDocPos(Point const&)
OutlinerView::ImpGetInsertionPara(Point const&)
OutlinerView::Redo()
OutlinerView::RemoveCharAttribs(unsigned long, unsigned short)
OutlinerView::SetOutliner(Outliner*)
OutlinerView::SetStyleSheet(SfxStyleSheet*)
OutlinerView::SpellIgnoreWord()
OutlinerView::Undo()
OutputDevice::DrawNativeControlText(unsigned int, unsigned int, Rectangle const&, unsigned int, ImplControlValue const&, rtl::OUString)
OutputDevice::GetFontSubstitute(unsigned short, String&, String&, unsigned short&)
OutputDevice::GetMinKashida(Font const&) const
......@@ -379,8 +359,6 @@ PageSpan::getMarginLeft() const
PageSpan::getMarginRight() const
ParaPortion::DbgCheckTextPortions()
ParaPortionList::DbgCheck(EditDoc&)
ParagraphList::GetVisPos(Paragraph*) const
ParagraphList::PrevVisible(Paragraph*) const
ParagraphObj::ParagraphObj(ParagraphObj&)
PathDialog::SetPath(Edit const&)
PatternBox::GetString(unsigned short) const
......@@ -427,7 +405,6 @@ SalI18N_InputContext::SetPreeditState(int)
SanExtensionImpl::extractCertExt()
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
SbMethod::GetLocals()
SbPropertyContainer::SbPropertyContainer()
SbPropertySetInfo::SbPropertySetInfo()
SbTextPortions::Insert(SbTextPortions const*, unsigned short, unsigned short, unsigned short)
......@@ -884,6 +861,8 @@ SvStringsSortDtor::Insert(SvStringsSortDtor const*, unsigned short, unsigned sho
SvStringsSortDtor::Remove(String* const&, unsigned short)
SvStringsSortDtor::Remove(unsigned short, unsigned short)
SvTabListBox::GetTabJustify(unsigned short) const
SvULongs::Insert(SvULongs const*, unsigned short, unsigned short, unsigned short)
SvULongs::Remove(unsigned short, unsigned short)
SvULongs::Replace(unsigned long const&, unsigned short)
SvULongs::Replace(unsigned long const*, unsigned short, unsigned short)
SvULongs::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
......@@ -1110,9 +1089,6 @@ SvxLanguageBox::SvxLanguageBox(Window*, long, unsigned char)
SvxLightCtl3D::SvxLightCtl3D(Window*, long)
SvxLineColorItem::SvxLineColorItem(Color const&, unsigned short)
SvxListBoxControl::RegisterControl(unsigned short, SfxModule*)
SvxMSConvertOCXControls::OCX_Factory(String const&)
SvxMSConvertOCXControls::WriteOCXExcelKludgeStream(SotStorageStreamRef&, com::sun::star::uno::Reference<com::sun::star::awt::XControlModel> const&, com::sun::star::awt::Size const&, String&)
SvxMSConvertOCXControls::WriteOCXStream(SotStorageRef&, com::sun::star::uno::Reference<com::sun::star::awt::XControlModel> const&, com::sun::star::awt::Size const&, String&)
SvxMSDffManager::GetAutoForm(MSO_SPT) const
SvxMSDffManager::ImportFontWork(SvStream&, SfxItemSet&, Rectangle&) const
SvxMSDffManager::Scale(PolyPolygon&) const
......
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