summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-05-05 17:39:48 +0200
committerChristian Lippka <christian.lippka@sun.com>2010-05-05 17:39:48 +0200
commit58dd850178eb0151f03351b0599fcb88e6b499a8 (patch)
tree7a005c45abf348b2c29e9748392d52c9383e2236 /sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
parent1875ea687b2c5c45fe3df626c05ca5f483417269 (diff)
#i89450# removed unused code
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsPageSelector.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index b50be47a0188..0e8f5e100d1c 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -177,17 +177,6 @@ void PageSelector::DeselectPage (int nPageIndex)
-void PageSelector::DeselectPage (const SdPage* pPage)
-{
- int nPageIndex = (pPage->GetPageNum()-1) / 2;
- SharedPageDescriptor pDescriptor (mrModel.GetPageDescriptor(nPageIndex));
- if (pDescriptor.get()!=NULL && pDescriptor->GetPage()==pPage)
- DeselectPage(pDescriptor);
-}
-
-
-
-
void PageSelector::DeselectPage (const SharedPageDescriptor& rpDescriptor)
{
if (rpDescriptor.get()!=NULL && rpDescriptor->Deselect())