From 3e9e667af2d8d307844b29d608b377a04b6bb139 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 May 2016 14:07:12 +0200 Subject: loplugin:unusedmethods SfxLinkUndoAction Change-Id: I1ad7c2452dd9bc80e7404f41484b9667adbcfa7b Reviewed-on: https://gerrit.libreoffice.org/25542 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/undo/undobase.cxx | 8 -------- sc/source/ui/undo/undodraw.cxx | 8 -------- 2 files changed, 16 deletions(-) (limited to 'sc/source/ui/undo') 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) -- cgit