summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-24 18:39:08 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-24 18:42:02 +0100
commit305bf19e390aebdf2d20ea052a92f782e8d1185c (patch)
tree7a94d504a364f03e998e73774eb10b162b173731 /sd/source/ui/slidesorter/controller
parente5444ae3e099e1279b9b685b623c6e50bb8efd3b (diff)
loplugin: unused variables
And some fallout. Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1
Diffstat (limited to 'sd/source/ui/slidesorter/controller')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
index 9a885f5fbd79..de382bf74c11 100644
--- a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.cxx
@@ -45,8 +45,6 @@ DragAndDropContext::DragAndDropContext (SlideSorter& rSlideSorter)
: mpTargetSlideSorter(&rSlideSorter),
mnInsertionIndex(-1)
{
- ::std::vector<const SdPage*> aPages;
-
// No Drag-and-Drop for master pages.
if (rSlideSorter.GetModel().GetEditMode() != EM_PAGE)
return;
diff --git a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
index 2175eaeecdd6..48b0898aad67 100644
--- a/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
@@ -194,7 +194,6 @@ void VisibleAreaManager::MakeVisible (void)
const sal_Int32 nVisibleHeight (aVisibleArea.GetHeight());
// Find the longest run of boxes whose union fits into the visible area.
- Rectangle aBoundingBox;
for (::std::vector<Rectangle>::const_iterator
iBox(maVisibleRequests.begin()),
iEnd(maVisibleRequests.end());