summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-13 23:09:39 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-13 23:12:48 +0200
commit6ec885c9ff4f074f7b163c314cebda1da32d7057 (patch)
treeae8ca6c74da02d16a56ffc7e994fd268f120de0f /sd
parentcada99ef062a5676fe27c8933fb4a585b694807c (diff)
warning C4245 signed/unsigned mismatch
Turns out that mnVisiblePageCount is actually never read. Change-Id: I6bded733bb551525a6143976ad4c4447a5a56773
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/PageListWatcher.cxx3
-rw-r--r--sd/source/core/PageListWatcher.hxx1
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;