summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-27 14:07:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-30 06:34:32 +0000
commit3e9e667af2d8d307844b29d608b377a04b6bb139 (patch)
treef08ebf65eff11bdaae295b17af86fb8558ca0552 /sc/source/ui/undo
parent12868914a39b0e8fb32f63d1307c1bb1c535fb9c (diff)
loplugin:unusedmethods SfxLinkUndoAction
Change-Id: I1ad7c2452dd9bc80e7404f41484b9667adbcfa7b Reviewed-on: https://gerrit.libreoffice.org/25542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undobase.cxx8
-rw-r--r--sc/source/ui/undo/undodraw.cxx8
2 files changed, 0 insertions, 16 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 792cde5a05a2..b5a7e694c553 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -598,14 +598,6 @@ sal_uInt16 ScUndoWrapper::GetId() const
return 0;
}
-void ScUndoWrapper::SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction)
-{
- if (pWrappedUndo)
- pWrappedUndo->SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction);
- else
- SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction);
-}
-
bool ScUndoWrapper::Merge( SfxUndoAction* pNextAction )
{
if (pWrappedUndo)
diff --git a/sc/source/ui/undo/undodraw.cxx b/sc/source/ui/undo/undodraw.cxx
index 5645afb09406..89359ffbc6b1 100644
--- a/sc/source/ui/undo/undodraw.cxx
+++ b/sc/source/ui/undo/undodraw.cxx
@@ -62,14 +62,6 @@ sal_uInt16 ScUndoDraw::GetId() const
return 0;
}
-void ScUndoDraw::SetLinkToSfxLinkUndoAction(SfxLinkUndoAction* pSfxLinkUndoAction)
-{
- if (pDrawUndo)
- pDrawUndo->SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction);
- else
- SetLinkToSfxLinkUndoAction(pSfxLinkUndoAction);
-}
-
bool ScUndoDraw::Merge( SfxUndoAction* pNextAction )
{
if (pDrawUndo)