summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-22 11:16:30 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-22 18:49:07 +0000
commitc439d55042c5815b57987238b0e074869004196d (patch)
tree98f65cd584a53c37c11056c1d36b7095b7667f71
parent2ea92be9973e6892727eae37ae958863702b3658 (diff)
remove unused Link<> field
Change-Id: If6c5719adf5240e12e798f72b25c5c19a09bc0f6 Reviewed-on: https://gerrit.libreoffice.org/18769 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--editeng/source/editeng/editeng.cxx5
-rw-r--r--editeng/source/editeng/impedit.hxx6
-rw-r--r--editeng/source/editeng/impedit3.cxx11
-rw-r--r--editeng/source/outliner/outlin2.cxx5
-rw-r--r--include/editeng/editeng.hxx1
-rw-r--r--include/editeng/outliner.hxx3
-rw-r--r--sd/source/ui/view/outlview.cxx1
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
8 files changed, 0 insertions, 34 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 39bf7c67bb17..64c5738660f7 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 3931f6185048..4e6d03833e60 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 0427a2338898..540b8e798308 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 087c0c347cf3..2d16ba588de9 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 eadf0f516a33..d9aee4bd5af6 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 d273020fd9b0..16ab77cd9f7c 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 12deaea341b7..60d48d2dfc6d 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 0d7d0137fa76..b922d394b687 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 )
{