editeng/source/editeng/editeng.cxx | 5 ----- editeng/source/editeng/impedit.hxx | 6 ------ editeng/source/editeng/impedit3.cxx | 11 ----------- editeng/source/outliner/outlin2.cxx | 5 ----- include/editeng/editeng.hxx | 1 - include/editeng/outliner.hxx | 3 --- sd/source/ui/view/outlview.cxx | 1 - svx/source/svdraw/svdedxv.cxx | 2 -- 8 files changed, 34 deletions(-)
New commits: commit c439d55042c5815b57987238b0e074869004196d Author: Noel Grandin <[email protected]> Date: Tue Sep 22 11:16:30 2015 +0200 remove unused Link<> field Change-Id: If6c5719adf5240e12e798f72b25c5c19a09bc0f6 Reviewed-on: https://gerrit.libreoffice.org/18769 Reviewed-by: Noel Grandin <[email protected]> Tested-by: Noel Grandin <[email protected]> diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 39bf7c6..64c5738 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -1529,11 +1529,6 @@ void EditEngine::SetImportHdl( const Link<ImportInfo&,void>& rLink ) pImpEditEngine->aImportHdl = rLink; } -void EditEngine::SetChainingEventHdl( const Link<>& rLink ) -{ - pImpEditEngine->SetChainingEventHdl( rLink ); -} - Link<ImportInfo&,void> EditEngine::GetImportHdl() const { return pImpEditEngine->aImportHdl; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 3931f61..4e6d038 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -495,8 +495,6 @@ private: Link<EditView*,void> maBeginDropHdl; Link<EditView*,void> maEndDropHdl; - Link<> aChainingHdlLink; - rtl::Reference<SvxForbiddenCharactersTable> xForbiddenCharsTable; bool bKernAsianPunctuation:1; @@ -837,8 +835,6 @@ public: void SetModifyHdl( const Link<LinkParamNone*,void>& rLink ) { aModifyHdl = rLink; } Link<LinkParamNone*,void> GetModifyHdl() const { return aModifyHdl; } - void SetChainingEventHdl( const Link<>& rLink ) { aChainingHdlLink = rLink; } - bool IsInSelectionMode() { return bInSelection; } void IndentBlock( EditView* pView, bool bRight ); @@ -871,8 +867,6 @@ public: inline ESelection CreateESel( const EditSelection& rSel ); inline EditSelection CreateSel( const ESelection& rSel ); - void CallChainingEventHdl(); - void SetStyleSheetPool( SfxStyleSheetPool* pSPool ); SfxStyleSheetPool* GetStyleSheetPool() const { return pStylePool; } diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 0427a23..540b8e7 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -4066,17 +4066,6 @@ void ImpEditEngine::CallStatusHdl() } } -void ImpEditEngine::CallChainingEventHdl() -{ - // XXX: We don't use this method any more at the moment. - // only if it's the right ImpEditEngine (with right info on changes in text) - if ( aChainingHdlLink.IsSet() /* && aStatus.GetStatusWord() */) - { - aChainingHdlLink.Call( &mbNeedsChainingHandling ); - - } -} - ContentNode* ImpEditEngine::GetPrevVisNode( ContentNode* pCurNode ) { const ParaPortion* pPortion = FindParaPortion( pCurNode ); diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx index 087c0c3..2d16ba5 100644 --- a/editeng/source/outliner/outlin2.cxx +++ b/editeng/source/outliner/outlin2.cxx @@ -128,11 +128,6 @@ void Outliner::SetNotifyHdl( const Link<EENotify&,void>& rLink ) pEditEngine->SetNotifyHdl( Link<EENotify&,void>() ); } -void Outliner::SetChainingEventHdl( const Link<>& rLink ) -{ - pEditEngine->SetChainingEventHdl( rLink ); -} - void Outliner::SetStatusEventHdl( const Link<EditStatus&, void>& rLink ) { pEditEngine->SetStatusEventHdl( rLink ); diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index eadf0f5..d9aee4b 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -372,7 +372,6 @@ public: void SetStatusEventHdl( const Link<EditStatus&,void>& rLink ); Link<EditStatus&,void> GetStatusEventHdl() const; - void SetChainingEventHdl( const Link<>& rLink ); void SetNotifyHdl( const Link<EENotify&,void>& rLink ); Link<EENotify&,void> GetNotifyHdl() const; diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index d273020..16ab77c 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -802,9 +802,6 @@ public: void SetStatusEventHdl( const Link<EditStatus&, void>& rLink ); Link<EditStatus&, void> GetStatusEventHdl() const; - void SetChainingEventHdl( const Link<>& rLink ); - - void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect ); void Draw( OutputDevice* pOutDev, const Point& rStartPos, short nOrientation = 0 ); diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 12deaea..60d48d2 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1370,7 +1370,6 @@ void OutlineView::ResetLinks() const mrOutliner.SetDrawPortionHdl(Link<DrawPortionInfo*,void>()); mrOutliner.SetBeginPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); mrOutliner.SetEndPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); - mrOutliner.SetChainingEventHdl(Link<>()); } sal_Int8 OutlineView::AcceptDrop( const AcceptDropEvent&, DropTargetHelper&, ::sd::Window*, sal_uInt16, sal_uInt16) diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 0d7d013..b922d39 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -1015,8 +1015,6 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally) pTEOutliner->SetBeginPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); pTEOutliner->SetEndPasteOrDropHdl(Link<PasteOrDropInfos*,void>()); - pTEOutliner->SetChainingEventHdl(Link<>()); - const bool bUndo = IsUndoEnabled(); if( bUndo ) { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
