diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/PageListWatcher.cxx | 3 | ||||
-rw-r--r-- | sd/source/core/PageListWatcher.hxx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/core/PageListWatcher.cxx b/sd/source/core/PageListWatcher.cxx index 590f8ed3993b..77b7da9448c1 100644 --- a/sd/source/core/PageListWatcher.cxx +++ b/sd/source/core/PageListWatcher.cxx @@ -29,7 +29,6 @@ void ImpPageListWatcher::ImpRecreateSortedPageListOnDemand() maPageVectorStandard.clear(); maPageVectorNotes.clear(); mpHandoutPage = 0L; - mnVisiblePageCount = -1; // build up vectors again const sal_uInt32 nPageCount(ImpGetPageCount()); @@ -44,7 +43,6 @@ void ImpPageListWatcher::ImpRecreateSortedPageListOnDemand() case PK_STANDARD: { maPageVectorStandard.push_back(pCandidate); - if (!pCandidate->IsExcluded()) mnVisiblePageCount++; break; } case PK_NOTES: @@ -69,7 +67,6 @@ ImpPageListWatcher::ImpPageListWatcher(const SdrModel& rModel) : mrModel(rModel) , mpHandoutPage(0L) , mbPageListValid(false) - , mnVisiblePageCount(0) { } diff --git a/sd/source/core/PageListWatcher.hxx b/sd/source/core/PageListWatcher.hxx index 26b3a96e9d71..9158078c4c72 100644 --- a/sd/source/core/PageListWatcher.hxx +++ b/sd/source/core/PageListWatcher.hxx @@ -43,7 +43,6 @@ protected: SdPage* mpHandoutPage; bool mbPageListValid; - sal_uInt32 mnVisiblePageCount; void ImpRecreateSortedPageListOnDemand(); virtual sal_uInt32 ImpGetPageCount() const = 0; |