summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fusel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-20 12:02:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 06:17:29 +0000
commit7b26389414b203a4f3225acf0c027b93bcb234ac (patch)
tree144aeb20c5e191840c4fb862106b0d0344d0260f /sc/source/ui/drawfunc/fusel.cxx
parent85ea267b7a8fbd5859569db6ef7ac8dd1bd9bcd1 (diff)
clang-tidy clang-analyzer-deadcode.DeadStores
Change-Id: I7113a13ac36db5beef3a17e9849c1f5506df2374 Reviewed-on: https://gerrit.libreoffice.org/25194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/drawfunc/fusel.cxx')
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index c4c1aac7c32a..9cb144bde0d4 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -444,12 +444,6 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
pView->EndDragObj( rMEvt.IsMod1() );
pView->ForceMarkedToAnotherPage();
- const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
- if (rMarkList.GetMarkCount() == 1)
- {
- SdrMark* pMark = rMarkList.GetMark(0);
- pObj = pMark->GetMarkedSdrObj();
- }
bReturn = true;
}
else if (pView->IsAction() )