summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx1
2 files changed, 1 insertions, 8 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
index c90b10458ea7..18b77b620994 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx
@@ -58,8 +58,7 @@ void SelectionObserver::Context::Abort()
SelectionObserver::SelectionObserver (SlideSorter& rSlideSorter)
: mrSlideSorter(rSlideSorter),
mbIsOvservationActive(false),
- maInsertedPages(),
- maDeletedPages()
+ maInsertedPages()
{
}
@@ -84,8 +83,6 @@ void SelectionObserver::NotifyPageEvent (const SdrPage* pSdrPage)
::std::find(maInsertedPages.begin(), maInsertedPages.end(), pPage));
if (iPage != maInsertedPages.end())
maInsertedPages.erase(iPage);
-
- maDeletedPages.push_back(pPage->GetPageNum());
}
}
@@ -93,7 +90,6 @@ void SelectionObserver::StartObservation()
{
OSL_ASSERT(!mbIsOvservationActive);
maInsertedPages.clear();
- maDeletedPages.clear();
mbIsOvservationActive = true;
}
@@ -102,7 +98,6 @@ void SelectionObserver::AbortObservation()
OSL_ASSERT(mbIsOvservationActive);
mbIsOvservationActive = false;
maInsertedPages.clear();
- maDeletedPages.clear();
}
void SelectionObserver::EndObservation()
@@ -126,7 +121,6 @@ void SelectionObserver::EndObservation()
}
maInsertedPages.clear();
}
- maDeletedPages.clear();
aUpdateLock.Release();
mrSlideSorter.GetController().GetFocusManager().SetFocusedPageToCurrentPage();
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
index 4bdfc158db89..c88b032acfe5 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
@@ -68,7 +68,6 @@ private:
bool mbIsOvservationActive;
::std::vector<const SdPage*> maInsertedPages;
- ::std::vector<sal_Int32> maDeletedPages;
};
} } } // end of namespace ::sd::slidesorter::controller